aboutsummaryrefslogtreecommitdiffstats
path: root/unicorn
diff options
context:
space:
mode:
authorgeoffroy desvernay <dgeo@dgeos.net>2014-03-30 11:11:30 +0200
committergeoffroy desvernay <dgeo@dgeos.net>2014-03-30 11:11:30 +0200
commit8cc8d3413495418a1c3a0ac3f8ae8c6283be2035 (patch)
tree13803727e8aa5fbdbcaef2ea95b434ed66a6d385 /unicorn
parent3de69c1564c349882b7fc45358b1597309a5da24 (diff)
downloadfreebsd-puma-8cc8d3413495418a1c3a0ac3f8ae8c6283be2035.tar.gz
freebsd-puma-8cc8d3413495418a1c3a0ac3f8ae8c6283be2035.tar.bz2
freebsd-puma-8cc8d3413495418a1c3a0ac3f8ae8c6283be2035.zip
Correct -x test to raise an error instead of trying to execute '-E'
(see http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/184592)
Diffstat (limited to 'unicorn')
-rwxr-xr-xunicorn2
1 files changed, 1 insertions, 1 deletions
diff --git a/unicorn b/unicorn
index ed79ea0..604200c 100755
--- a/unicorn
+++ b/unicorn
@@ -197,7 +197,7 @@ unicorn_start_command()
fi
# ensure that the command exists and is executable
- if [ ! -x ${_chroot}${_chroot:+"/"}${command} ]; then
+ if [ ! -x "${_chroot}${_chroot:+/}${command}" ]; then
warn "run_rc_command: cannot run $command"
return 1
fi