aboutsummaryrefslogtreecommitdiff
path: root/sh/runscript.sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-11-22 13:37:24 +0000
committerRoy Marples <roy@marples.name>2007-11-22 13:37:24 +0000
commita1b9dabf4e89b9f4bb7f0c318ff87bb4d0be2168 (patch)
tree5730a0b34ce85d145b3a9c0146b84cdf9a06acc8 /sh/runscript.sh
parent5f37abddde55ee5ec2afb4e2b565326261bbc976 (diff)
Use yesno for more robustness
Diffstat (limited to 'sh/runscript.sh')
-rwxr-xr-xsh/runscript.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/runscript.sh b/sh/runscript.sh
index 8aab605c..5ba1004d 100755
--- a/sh/runscript.sh
+++ b/sh/runscript.sh
@@ -59,7 +59,7 @@ describe() {
done
}
-[ "${RC_DEBUG}" = "yes" ] && set -x
+yesno ${RC_DEBUG} && set -x
# If we're net.eth0 or openvpn.work then load net or openvpn config
rc_c=${SVCNAME%%.*}