summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rwxr-xr-xshell2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell b/shell
index 32b6c2b..2d98edf 100755
--- a/shell
+++ b/shell
@@ -1,6 +1,6 @@
#!/bin/sh
#this is to keep stale tails from hanging around...
-kill `pgrep -P 1 -f "tail -f /home/segfault/files/cmd_in"`
+pkill -P 1 -f "tail -f /home/segfault/files/cmd_in"
mkdir -p /home/segfault/files
mkfifo /home/segfault/files/cmd_in
mkfifo /home/segfault/files/cmd_out