live generator: don't error out when not in a live session

it's perfectly normal!
This commit is contained in:
Harald Sitter
2025-03-25 01:07:01 +01:00
parent 20bda00747
commit ca059003df

View File

@@ -14,7 +14,7 @@ late_dir=$3
if ! grep "kde-linux.live=1" /proc/cmdline; then
echo "kde-linux.live=1 not in cmdline"
exit 1
exit 0
fi
if [ "$(readlink --canonicalize /dev/disk/by-label/KDELinuxLive)" != "$(readlink --canonicalize /dev/gpt-auto-root)" ]; then