summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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