From: Jonatan Schlag Date: Thu, 6 Jul 2017 13:28:40 +0000 (+0200) Subject: util: isbool accept now also true and false X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ec6afbdda80ec1684e9635d65ebdb6edfddfe5fc;p=people%2Fstevee%2Fnetwork.git util: isbool accept now also true and false Signed-off-by: Jonatan Schlag Signed-off-by: Michael Tremer --- diff --git a/src/functions/functions.util b/src/functions/functions.util index 37feb73b..0a9b3d6b 100644 --- a/src/functions/functions.util +++ b/src/functions/functions.util @@ -310,7 +310,7 @@ isoneof() { isbool() { local var=${1} - isoneof ${var} 0 1 no yes on off + isoneof ${var} 0 1 no yes on off true false } isinteger() {