diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-09-07 23:22:08 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-09-07 23:22:08 +0000 |
commit | 8d89bed8401bfbca9c5ef18f201439b3502e733b (patch) | |
tree | b5db7bd373d32b4891610cd2c58f6307d4808447 /debianutils | |
parent | ee9deb863e089e1b607cc5771123257c3223bea0 (diff) | |
download | busybox-w32-8d89bed8401bfbca9c5ef18f201439b3502e733b.tar.gz busybox-w32-8d89bed8401bfbca9c5ef18f201439b3502e733b.tar.bz2 busybox-w32-8d89bed8401bfbca9c5ef18f201439b3502e733b.zip |
watchdog: add -T option
function old new delta
watchdog_main 159 219 +60
mdev: support match by major,minor. See bug 4714.
+100 bytes.
Diffstat (limited to 'debianutils')
-rw-r--r-- | debianutils/start_stop_daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debianutils/start_stop_daemon.c b/debianutils/start_stop_daemon.c index 875eca511..99864d0a4 100644 --- a/debianutils/start_stop_daemon.c +++ b/debianutils/start_stop_daemon.c | |||
@@ -428,7 +428,7 @@ int start_stop_daemon_main(int argc UNUSED_PARAM, char **argv) | |||
428 | write_pidfile(pidfile); | 428 | write_pidfile(pidfile); |
429 | } | 429 | } |
430 | if (opt & OPT_c) { | 430 | if (opt & OPT_c) { |
431 | struct bb_uidgid_t ugid; | 431 | struct bb_uidgid_t ugid = { -1, -1 }; |
432 | parse_chown_usergroup_or_die(&ugid, chuid); | 432 | parse_chown_usergroup_or_die(&ugid, chuid); |
433 | if (ugid.gid != (gid_t) -1) xsetgid(ugid.gid); | 433 | if (ugid.gid != (gid_t) -1) xsetgid(ugid.gid); |
434 | if (ugid.uid != (uid_t) -1) xsetuid(ugid.uid); | 434 | if (ugid.uid != (uid_t) -1) xsetuid(ugid.uid); |