From 8cc8d3413495418a1c3a0ac3f8ae8c6283be2035 Mon Sep 17 00:00:00 2001 From: geoffroy desvernay Date: Sun, 30 Mar 2014 11:11:30 +0200 Subject: 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) --- unicorn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3