summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-11-19 11:52:14 +0100
committerRemi Collet <remi@php.net>2024-11-19 11:52:14 +0100
commit55e163b47ba79e429eaeedfd1bc31c4292748d5b (patch)
treead2ddb984ccb5588e3ae7cb446c4511cedb4e5b7
parentdf49bfd377f9a0e7402e2ffb4770a2f3ab2648ed (diff)
cleanup output
-rwxr-xr-xmockit2
1 files changed, 1 insertions, 1 deletions
diff --git a/mockit b/mockit
index 1dcd8f5..ef68fff 100755
--- a/mockit
+++ b/mockit
@@ -41,7 +41,7 @@ if [ "$1" == "--list" ]; then
[ -n "$a" ] && $REDISCLI smembers mockx || ps -ef | grep mock/mock | grep -v grep
echo -e "\n-- aarch64 queue: $($REDISCLI scard mocka) tasks --"
a=$($REDISCLI smembers mocka)
- [ -n "$a" ] && $REDISCLI smembers mocka || ps -ef | ssh remi@ampere 'ps -ef | grep mock/mock'
+ [ -n "$a" ] && $REDISCLI smembers mocka || ps -ef | ssh remi@ampere 'ps -ef | grep mock/mock | grep -v grep'
exit 0
elif [ "$1" == "--clean" ]; then
$REDISCLI del mockx