summarylogtreecommitdiffstats
path: root/run.sh
diff options
context:
space:
mode:
authorFranco Masotti2017-03-09 15:15:21 +0100
committerFranco Masotti2017-03-09 15:15:21 +0100
commitb2fb71f6b241681d08d51b12a6f22875248d48d9 (patch)
treefa34bb8d283bd2c12dd67f52d401b4f45729fe71 /run.sh
parent77733473cd0bb441a96baea257e187bde6dd5d9a (diff)
downloadaur-b2fb71f6b241681d08d51b12a6f22875248d48d9.tar.gz
Updated to new version.
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/run.sh b/run.sh
index 7f1c63d4b93a..83e950c73675 100755
--- a/run.sh
+++ b/run.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/env sh
+#!/usr/bin/env bash
#
# run.sh
@@ -77,7 +77,7 @@ killd()
# kill action only if process exists.
if [ -f "$pid_file" ]; then
pid=$(cat "$pid_file")
- ps -q $pid > /dev/null
+ ps -p $pid > /dev/null
if [ $? -eq 0 ]; then
make -C "$pkg_dir" stop
fi