mirror of
https://github.com/nix-community/disko.git
synced 2026-12-03 14:33:28 +01:00
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:
1 parent
486250f404
commit
9c7de5582e
1 file changed
+1
-1
+1
-1
@@ -556,7 +556,7 @@ let
|
|||||||
if [ "$1" != "--yes-wipe-all-disks" ]; then
|
if [ "$1" != "--yes-wipe-all-disks" ]; then
|
||||||
echo "WARNING: This will destroy all data on the disks defined in disko.devices, which are:"
|
echo "WARNING: This will destroy all data on the disks defined in disko.devices, which are:"
|
||||||
echo
|
echo
|
||||||
# shellcheck disable=SC2043
|
# shellcheck disable=SC2043,2041
|
||||||
for dev in ${selectedDisks}; do
|
for dev in ${selectedDisks}; do
|
||||||
echo " - $dev"
|
echo " - $dev"
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in new issue
Block a user