diff --git a/timeshift-autosnap b/timeshift-autosnap
index e81f04bcdd0b8cb78c84efcfd5ea01d277c67680..f0d1975ef12db624b8a57549019707c34a6d70cb 100755
--- a/timeshift-autosnap
+++ b/timeshift-autosnap
@@ -1,9 +1,9 @@
 #!/bin/bash
 #author: gobonja
 
-if [ $(findmnt / -no fstype) == "overlay" ] ; then
-    echo "==> skipping timeshift-autosnap because system is booted in Live CD mode..."; exit 0;
-fi
+[ $(findmnt / -no fstype) == "overlay" ] && { printf "==> skipping timeshift-autosnap because system is booted in Live CD mode..."; exit 0; }
+
+[[ -v SKIP_AUTOSNAP ]] && { printf "==> skipping timeshift-autosnap due SKIP_AUTOSNAP environment variable being set."; exit 0; }
 
 readonly CONF_FILE=/etc/timeshift-autosnap.conf
 readonly SNAPSHOTS_TO_DELETE=$(mktemp -u --tmpdir ${0##*/}.XXXXXXXX)