aboutsummaryrefslogtreecommitdiff
path: root/src/start-stop-daemon.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-09-26 07:05:33 +0000
committerRoy Marples <roy@marples.name>2007-09-26 07:05:33 +0000
commit8a7b58a73d0ef5a9a7f583bf73b1dc917f2a29de (patch)
treee8c0ac11ec2cf07ac9521dd987bb11fb351af10d /src/start-stop-daemon.c
parentab0edd43b9c6df2946e8a514b12e04db23f13c65 (diff)
rc_is_env is now rc_env_bool and just works with boolean values.
Diffstat (limited to 'src/start-stop-daemon.c')
-rw-r--r--src/start-stop-daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/start-stop-daemon.c b/src/start-stop-daemon.c
index 20d2cec8..f61c2d90 100644
--- a/src/start-stop-daemon.c
+++ b/src/start-stop-daemon.c
@@ -684,7 +684,7 @@ int start_stop_daemon (int argc, char **argv)
case_RC_COMMON_GETOPT
}
- quiet = rc_is_env ("RC_QUIET", "yes");
+ quiet = rc_env_bool ("RC_QUIET");
verbose = rc_is_env ("RC_VERBOSE", "yes");
/* Allow start-stop-daemon --signal HUP --exec /usr/sbin/dnsmasq