summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--selfpublish.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/selfpublish.sh b/selfpublish.sh
index b480450..7a600ba 100644
--- a/selfpublish.sh
+++ b/selfpublish.sh
@@ -354,7 +354,9 @@ then
354 354
355elif [ "$1" = dyndns ] 355elif [ "$1" = dyndns ]
356then 356then
357 set -- ssh -i "$KEY_FILE" dyndns@"$DOMAIN" "$(hostname)" 357 shift
358 # further command line options are ssh options
359 set -- ssh -i "$KEY_FILE" dyndns@"$DOMAIN" "$@" -- "$(hostname)"
358 360
359 if [ -r "$KEY_FILE" ] 361 if [ -r "$KEY_FILE" ]
360 then 362 then