archlinux: checkupdates output is not checked anymore, ignore it
This commit is contained in:
parent
f95f08e15f
commit
e1ebbf2893
@ -32,7 +32,7 @@ elif [ -e /etc/arch-release ]; then
|
|||||||
## Archlinux
|
## Archlinux
|
||||||
set -e
|
set -e
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
checkupdates_output="$(checkupdates 2>&1)"
|
checkupdates >/dev/null 2>&1
|
||||||
exit_code="$?"
|
exit_code="$?"
|
||||||
[ "$exit_code" -eq 2 ] && echo "true" && exit 0
|
[ "$exit_code" -eq 2 ] && echo "true" && exit 0
|
||||||
echo "false"
|
echo "false"
|
||||||
|
Loading…
Reference in New Issue
Block a user