local/bin/rshare: Support unmountable locations.
parent
48c6bd4f29
commit
750dfe3c85
|
@ -77,7 +77,8 @@ EOF
|
|||
|
||||
share_woof() {
|
||||
if command -v guix >/dev/null 2>&1; then
|
||||
guix environment -C -N --expose="$TARGET"="$TARGET" --ad-hoc woof -- woof -c 9999 -p $PORT "$TARGET"
|
||||
guix environment -C -N --expose="$TARGET"="$TARGET" --ad-hoc woof -- woof -c 9999 -p $PORT "$TARGET" || \
|
||||
guix environment --ad-hoc woof -- woof -c 9999 -p $PORT "$TARGET"
|
||||
else
|
||||
woof -c 9999 -p $PORT "$TARGET"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue