mirror of
https://github.com/fsquillace/junest.git
synced 2026-01-23 02:34:30 +00:00
Update junest-wrapper
Ensure empty argument list is "passed" correctly.
This commit is contained in:
parent
9a71c5c316
commit
87abc9b819
1 changed files with 5 additions and 1 deletions
|
|
@ -1,2 +1,6 @@
|
|||
#!/bin/bash
|
||||
exec junest ns -n -b "$JUNEST_BINDS" -- /usr/bin/$(/usr/bin/basename $0) $(printf " %q" "$@")
|
||||
|
||||
declare args
|
||||
[[ $@ ]] && args=$(printf " %q" "$@")
|
||||
|
||||
exec junest ns -n -b "$JUNEST_BINDS" -- /usr/bin/$(/usr/bin/basename $0) $args
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue