Fix testif()

This commit is contained in:
Augusto Gunsch 2021-08-10 10:31:04 -03:00
parent f8353f68c1
commit 6c10e5d6ab
No known key found for this signature in database
GPG Key ID: F7EEFE29825C72DC
1 changed files with 2 additions and 0 deletions

View File

@ -23,7 +23,9 @@ quiet() {
testif() {
local DUMMY
set +e
DUMMY=$($@ 2>&1 > /dev/null)
set -e
}