summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/live-snapshot7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/live-snapshot b/bin/live-snapshot
index b81a6af..f77541f 100755
--- a/bin/live-snapshot
+++ b/bin/live-snapshot
@@ -30,7 +30,12 @@
ROOTSNAP=""
HOMESNAP=""
-set -eu
+if [ -n "${LIVE_SNAPSHOT_CHECK_UNBOUND}" ]
+then
+ set -eu
+else
+ set -e
+fi
. /usr/share/initramfs-tools/scripts/live-helpers