garlicd: avoid no match fail
We check the result in the next if.
This commit is contained in:
parent
5fd2a62684
commit
0ee2747215
@ -17,7 +17,7 @@ bscpkgsdir=$(readlink -f "$1")
|
|||||||
|
|
||||||
garlic_sandbox=$(nix show-config |\
|
garlic_sandbox=$(nix show-config |\
|
||||||
grep extra-sandbox-paths |\
|
grep extra-sandbox-paths |\
|
||||||
grep -o '/garlic=[^ ]*')
|
grep -o '/garlic=[^ ]*' || true)
|
||||||
|
|
||||||
if [ -z "$garlic_sandbox" ]; then
|
if [ -z "$garlic_sandbox" ]; then
|
||||||
msg "Missing extra-sandbox-paths /garlic mountpoint"
|
msg "Missing extra-sandbox-paths /garlic mountpoint"
|
||||||
|
Loading…
Reference in New Issue
Block a user