Skip to content

Commit

Permalink
Fix inverted boolean logic on soft-reboot
Browse files Browse the repository at this point in the history
  • Loading branch information
laenion committed Apr 18, 2024
1 parent f9f6cf5 commit 1cda399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion systemd/prepare-nextroot-for-softreboot
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
[ -e /run/nextroot/etc/fstab ] && exit 0

# Don't do anything if in default snapshot already
snapper --csvout list --columns default,active | grep -q 'yes,yes' || exit 0
snapper --no-dbus --csvout list --columns default,active | grep -q 'yes,yes' && exit 0

# Mount default subvolume into /run/nextroot
mkdir -p /run/nextroot
Expand Down

0 comments on commit 1cda399

Please sign in to comment.