summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/live-snapshot6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/live-snapshot b/bin/live-snapshot
index 1e080c3..08e5fd6 100755
--- a/bin/live-snapshot
+++ b/bin/live-snapshot
@@ -40,7 +40,11 @@ fi
. /usr/share/initramfs-tools/scripts/live-helpers
LIVE_CONF="/etc/live.conf"
-. "${LIVE_CONF}"
+
+if [ -r "${LIVE_CONF}" ]
+then
+ . "${LIVE_CONF}"
+fi
export USERNAME USERFULLNAME HOSTNAME