diff options
Diffstat (limited to 'selfpublish.sh')
-rw-r--r-- | selfpublish.sh | 4 |
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 | ||
355 | elif [ "$1" = dyndns ] | 355 | elif [ "$1" = dyndns ] |
356 | then | 356 | then |
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 |