fix some bugs and mix other things
[automated-distro-installer] / myfai-chboot
index 2d6b527523239fc55f9cb7e2ac1f2e7c95b228c7..7d775ea66cd1e13663ed38df4098e6b49f518a9b 100755 (executable)
@@ -40,6 +40,5 @@ host=$(./chost faiserver)
 if [[ $host == $(./chost $HOSTNAME) ]]; then
   ./myfai-chboot-local "$@"
 else
-  ssh root@$host bash -s --
-  "$@" <myfai-chboot-local
+  ssh root@$host bash -s -- "$@" <myfai-chboot-local
 fi