destroy: Fix shellcheck warning in nixos 24.05

Regression introduced in 94bc0f5bb0,
because I developed against unstable, which has
https://github.com/NixOS/nixpkgs/pull/333744 merged, while 24.05
doesn't.

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

Fixes #868
This commit is contained in:
Felix Uhl authored and Felix Uhl committed 2024-11-13 23:20:40 +01:00
1 parent 486250f404
commit 9c7de5582e
1 file changed
+1 -1
+1 -1
View File
@@ -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