mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-11 23:50:05 +01:00
fix: Quote variable reference
As recommended by ShellCheck.
This commit is contained in:
parent
077ff277da
commit
4553130780
1 changed files with 1 additions and 1 deletions
|
|
@ -3,4 +3,4 @@ set -efux
|
||||||
# dependencies: jq util-linux lvm2 mdadm zfs
|
# dependencies: jq util-linux lvm2 mdadm zfs
|
||||||
disk=$1
|
disk=$1
|
||||||
|
|
||||||
lsblk --output-all --json | jq -r --arg disk_to_clear "$disk" -f "$(dirname $0)/disk-deactivate.jq"
|
lsblk --output-all --json | jq -r --arg disk_to_clear "$disk" -f "$(dirname "$0")/disk-deactivate.jq"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue