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