aboutsummaryrefslogtreecommitdiff
path: root/gitstatus/install
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-06-14 11:29:29 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-06-14 11:29:29 +0300
commit5e5d3f5afff5112da97b5b972a17d24411bb04c7 (patch)
tree1d26aa18a19db659558554ec306d6207b13f9194 /gitstatus/install
parent4c15d633ddf311d07c45f94c326ef27e19c9e7b7 (diff)
parent0717e57ff46201ff04e7d62cda8677e174a83be6 (diff)
Merge commit '0717e57ff46201ff04e7d62cda8677e174a83be6'
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