From 55e163b47ba79e429eaeedfd1bc31c4292748d5b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 19 Nov 2024 11:52:14 +0100 Subject: cleanup output --- mockit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mockit') 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 -- cgit