summaryrefslogtreecommitdiffstats
path: root/abs/core/gpm/gpm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/gpm/gpm.sh')
-rwxr-xr-xabs/core/gpm/gpm.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/abs/core/gpm/gpm.sh b/abs/core/gpm/gpm.sh
index af35a5f..1aea572 100755
--- a/abs/core/gpm/gpm.sh
+++ b/abs/core/gpm/gpm.sh
@@ -1,3 +1,3 @@
case $( /usr/bin/tty ) in
- /dev/tty[0-9]*) [ -n "$(pgrep gpm)" ] && /usr/bin/disable-paste ;;
+ /dev/tty[0-9]*) [ -n "$(pidof -s gpm)" ] && /usr/bin/disable-paste ;;
esac