summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-01-17 12:01:17 +0100
committerErich Eckner <git@eckner.net>2018-01-17 12:01:17 +0100
commit70d60ec3f5f507f9cdf8766fcadc74bdc907cba3 (patch)
tree701e0a286ebcd8d23941630477d0800a7c70507f /bin
parent1dd67740ecb133216e31d7a82895d44c0cd52993 (diff)
downloadbuilder-70d60ec3f5f507f9cdf8766fcadc74bdc907cba3.tar.xz
bin/ii-connect: use less restrictive pgrep regex
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ii-connect2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ii-connect b/bin/ii-connect
index bb86b8b..b703d77 100755
--- a/bin/ii-connect
+++ b/bin/ii-connect
@@ -31,7 +31,7 @@ if ! grep ' buildmaster\.archlinux32\.org .* buildmaster$' "${irc_dir}/out" | \
fi
# start watch daemon if not running yet
-if ! pgrep -xf 'SCREEN -S ii-connect\.watch -d -m .*/ii-connect watch' > /dev/null; then
+if ! pgrep -f '/ii-connect watch$' > /dev/null; then
screen -S ii-connect.watch -d -m "${base_dir}/bin/ii-connect" watch
fi