diff options
-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 |