aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-07-09 15:43:45 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-07-09 15:43:45 +0200
commit090c194da6d5da2c0c68faddf3879fed2997d2f8 (patch)
treebb4c27b39049c97a3ebe2de05ecc3c8a01a53ab4
parent5c45a5d016f7738ac66f9dedcff6d4712aab2a3d (diff)
Set exit code
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
-rwxr-xr-xscripts/xds-server-start.sh2
-rwxr-xr-xscripts/xds-server-stop.sh1
2 files changed, 3 insertions, 0 deletions
diff --git a/scripts/xds-server-start.sh b/scripts/xds-server-start.sh
index dc108fe..7985759 100755
--- a/scripts/xds-server-start.sh
+++ b/scripts/xds-server-start.sh
@@ -73,3 +73,5 @@ if [ "$1" != "-dryrun" ]; then
pid_xds=$(jobs -p)
echo "pid=${pid_xds}"
fi
+
+exit 0
diff --git a/scripts/xds-server-stop.sh b/scripts/xds-server-stop.sh
index 8a6bf5e..674ed25 100755
--- a/scripts/xds-server-stop.sh
+++ b/scripts/xds-server-stop.sh
@@ -16,3 +16,4 @@ if [ "$nbProc" != "0" ]; then
pkill -KILL syncthing-inotify
fi
+exit 0