Skip to content

Commit a30e525

Browse files
authored
replace || : with || true
1 parent 354fc50 commit a30e525

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nixos-anywhere.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ nixos-install --no-root-passwd --no-channel-copy --system "$nixos_system"
478478
if command -v zpool >/dev/null; then
479479
# we always want to export the zfs pools so people can boot from it without force import
480480
umount -Rv /mnt/
481-
zpool export -a || :
481+
zpool export -a || true
482482
fi
483483
# We will reboot in background so we can cleanly finish the script before the hosts go down.
484484
# This makes integration into scripts easier

0 commit comments

Comments
 (0)