Fix testif()
This commit is contained in:
parent
f8353f68c1
commit
6c10e5d6ab
@ -23,7 +23,9 @@ quiet() {
|
|||||||
|
|
||||||
testif() {
|
testif() {
|
||||||
local DUMMY
|
local DUMMY
|
||||||
|
set +e
|
||||||
DUMMY=$($@ 2>&1 > /dev/null)
|
DUMMY=$($@ 2>&1 > /dev/null)
|
||||||
|
set -e
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user