Fix: piped execution of script failed
authorForlot Romain [IoT.bzh] <claneys@iot.bzh>
Thu, 19 Oct 2017 13:16:53 +0000 (15:16 +0200)
committerGitHub <noreply@github.com>
Thu, 19 Oct 2017 13:16:53 +0000 (15:16 +0200)
scripts/xds-docker-create-container.sh

index 06d1edc..706a6a4 100755 (executable)
@@ -225,7 +225,7 @@ if ($UPDATE_UID); then
     echo -n "."
     docker exec -t ${NAME} bash -c "systemctl start autologin"
     echo -n "."
-    ssh -p $SSH_PORT $DOCKER_USER@localhost -- "systemctl --user start xds-server" || exit 1
+    ssh -p $SSH_PORT $DOCKER_USER@localhost "systemctl --user start xds-server" || exit 1
     echo "."
     docker restart ${NAME}
 fi