From 70d60ec3f5f507f9cdf8766fcadc74bdc907cba3 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 17 Jan 2018 12:01:17 +0100 Subject: bin/ii-connect: use less restrictive pgrep regex --- bin/ii-connect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/ii-connect') 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 -- cgit v1.2.3-70-g09d2