mirror of
https://github.com/nix-community/disko.git
synced 2026-12-01 05:23:28 +01:00
disko-deactivate: fix jq syntax
This commit is contained in:
1 parent
8f806681d7
commit
a8e75da08f
2 files changed
+3
-1
No files matched your search
@@ -69,7 +69,7 @@ def deactivate:
|
||||
|
||||
def walk:
|
||||
[
|
||||
(.mountpoints[] | select(. != null) | "umount -R (. | shellquote)"),
|
||||
(.mountpoints[] | select(. != null) | "umount -R \(. | shellquote)"),
|
||||
((.children // []) | map(walk)),
|
||||
remove,
|
||||
deactivate
|
||||
|
||||
Reference in new issue
Block a user