diff options
author | Remi Collet <remi@remirepo.net> | 2024-11-19 11:52:14 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-11-19 11:52:14 +0100 |
commit | 55e163b47ba79e429eaeedfd1bc31c4292748d5b (patch) | |
tree | ad2ddb984ccb5588e3ae7cb446c4511cedb4e5b7 | |
parent | df49bfd377f9a0e7402e2ffb4770a2f3ab2648ed (diff) |
cleanup output
-rwxr-xr-x | mockit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |