From 67aad7c1875e0925e8712120a746e7111677cf7d Mon Sep 17 00:00:00 2001 From: pvincent Date: Tue, 3 Aug 2021 18:51:57 +0400 Subject: [PATCH] runVoid gnome-extension-cli again --- src/main | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main b/src/main index f9f110b..76091e4 100755 --- a/src/main +++ b/src/main @@ -19,8 +19,9 @@ function runVoid(){ trap - ERR local COMMAND="$@" bash -c "${COMMAND}" >/dev/null 2>&1 + error=$? trap 'trap_error $? $LINENO' ERR - return $? + return $error } @@ -183,7 +184,7 @@ fi echo "## gnome-extensions-cli" echo "=======================" -runVoid command gnome-extensions-cli 2> /dev/null +runVoid command gnome-extensions-cli if [[ $? -ne 0 ]]; then sudo pip3 install gnome-extensions-cli else