aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xupdate-netboot.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/update-netboot.sh b/update-netboot.sh
index a23677a..e72c065 100755
--- a/update-netboot.sh
+++ b/update-netboot.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -e
REPO="http://dl-cdn.alpinelinux.org/alpine"
BRANCHES="edge latest-stable"
@@ -86,7 +86,7 @@ for branch in $BRANCHES; do
mv "$tmpdir" "$IMGDIR"/$branch/$arch
mv "$tmpfile" "$CACHE_DIR"/$branch-$arch.lst
else
- printf "No update found\n\n"
+ printf "No update found\n"
rm -f $tmpfile
fi
done