aboutsummaryrefslogtreecommitdiff
path: root/net/macchanger.sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-11-22 13:28:14 +0000
committerRoy Marples <roy@marples.name>2007-11-22 13:28:14 +0000
commit09c5e5d415d5813f49d871dc0712212a92a695ed (patch)
treede87f98c3bb02e8cd436ddd8bcf99a2a4d51a65d /net/macchanger.sh
parente31e930825b2e1d122460b42d1a52d1aa8c13f5f (diff)
Use yesno for more robustness
Diffstat (limited to 'net/macchanger.sh')
-rw-r--r--net/macchanger.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/macchanger.sh b/net/macchanger.sh
index 4febac27..c2dc27f4 100644
--- a/net/macchanger.sh
+++ b/net/macchanger.sh
@@ -31,7 +31,7 @@ _config_vars="$_config_vars mac"
macchanger_pre_start() {
# We don't change MAC addresses from background
- ${IN_BACKGROUND} && return 0
+ yesno ${IN_BACKGROUND} && return 0
local mac= opts=