Use -t -t for sshing in static-update-component
authorPeter Palfrader <peter@palfrader.org>
Sun, 15 Dec 2013 09:45:35 +0000 (10:45 +0100)
committerPeter Palfrader <peter@palfrader.org>
Sun, 15 Dec 2013 09:45:35 +0000 (10:45 +0100)
modules/roles/files/static-mirroring/static-update-component

index 27b9318..f8ca81e 100755 (executable)
@@ -75,7 +75,7 @@ fi
 if [ "`id -nu`" != "staticsync" ]; then
   sudo -u staticsync static-update-component "$@"
 else
-  ssh -o AddressFamily=inet -t -o ServerAliveInterval=300 -o PreferredAuthentications=publickey "$masterhost" static-master-update-component "$component"
+  ssh -o AddressFamily=inet -t -t -o ServerAliveInterval=300 -o PreferredAuthentications=publickey "$masterhost" static-master-update-component "$component"
 fi
 
 # vim:set et: