diff --git a/scripts/snap-pac b/scripts/snap-pac index c1fb8c0..b53533e 100755 --- a/scripts/snap-pac +++ b/scripts/snap-pac @@ -48,7 +48,7 @@ truncate_description() { trap error_exit ERR trap kill_exit SIGTERM SIGINT -[[ ! -f "$SNAPPER_CONFIG_FILE" ]] && die "%s does not exist!" "$SNAPPER_CONFIG_FILE" +[[ ! -f "$SNAPPER_CONFIG_FILE" ]] && die "%s does not exist." "$SNAPPER_CONFIG_FILE" source "$SNAPPER_CONFIG_FILE" [[ $EUID -ne 0 ]] && die "Script must be run as root."