aboutsummaryrefslogtreecommitdiff
path: root/gitstatus/install
diff options
context:
space:
mode:
Diffstat (limited to 'gitstatus/install')
-rwxr-xr-xgitstatus/install2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitstatus/install b/gitstatus/install
index 4303129b..ec442ed9 100755
--- a/gitstatus/install
+++ b/gitstatus/install
@@ -131,7 +131,7 @@ END
>&2 echo "[gitstatus] error: GITSTATUS_DAEMON is not absolute path: $daemon"
return 1
fi
- if [ -z "$daemon" && -e "$gitstatus_dir"/usrbin/gitstatusd ]; then
+ if [ -z "$daemon" -a -e "$gitstatus_dir"/usrbin/gitstatusd ]; then
daemon="$gitstatus_dir"/usrbin/gitstatusd
fi
if [ -n "$daemon" ]; then