Skip to content

Commit

Permalink
destroy: Fix shellcheck warning in nixos 24.05
Browse files Browse the repository at this point in the history
Regression introduced in 94bc0f5,
because I developed against unstable, which has
NixOS/nixpkgs#333744 merged, while 24.05
doesn't.

Partly shellchecks mistake, see
koalaman/shellcheck#2891 but whatever, we
can't do much more about it than ignore the warning.

Fixes #868
  • Loading branch information
iFreilicht committed Nov 13, 2024
1 parent 486250f commit 9c7de55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ let
if [ "$1" != "--yes-wipe-all-disks" ]; then
echo "WARNING: This will destroy all data on the disks defined in disko.devices, which are:"
echo
# shellcheck disable=SC2043
# shellcheck disable=SC2043,2041
for dev in ${selectedDisks}; do
echo " - $dev"
done
Expand Down

0 comments on commit 9c7de55

Please sign in to comment.