1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-19 09:15:30 +03:00
aports/testing/apt-dater/02-refresh-ssh-flags.patch
2017-06-06 17:50:03 +00:00

15 lines
675 B
Diff

# Also use OptionalCmdFlags on refreshing hosts.
# Closes: #678111
diff -Naur apt-dater-0.9.0.orig/lib/cmd apt-dater-0.9.0/lib/cmd
--- apt-dater-0.9.0.orig/lib/cmd 2012-05-28 22:21:48.000000000 +0200
+++ apt-dater-0.9.0/lib/cmd 2012-07-03 19:26:49.369476113 +0200
@@ -157,7 +157,7 @@
;;
refresh)
run_hook "$AD_HOOK_PRE_REFRESH"
- $AD_SSH_CMD $AD_SSH_ID -n -o BatchMode=yes -o ConnectTimeout=5 $my_ssh_user $my_ssh_port "$AD_HOSTNAME" $AD_CMD_REFRESH 2>&1
+ $AD_SSH_CMD $AD_SSH_ID $AD_SSH_OPTFLAGS -n -o BatchMode=yes -o ConnectTimeout=5 $my_ssh_user $my_ssh_port "$AD_HOSTNAME" $AD_CMD_REFRESH 2>&1
run_hook "$AD_HOOK_POST_REFRESH"
;;
*)