diff options
Diffstat (limited to 'debianutils/start_stop_daemon.c')
-rw-r--r-- | debianutils/start_stop_daemon.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/debianutils/start_stop_daemon.c b/debianutils/start_stop_daemon.c index 1dd2231dc..5b689740e 100644 --- a/debianutils/start_stop_daemon.c +++ b/debianutils/start_stop_daemon.c | |||
@@ -143,9 +143,7 @@ do_procinit(void) | |||
143 | return; | 143 | return; |
144 | } | 144 | } |
145 | 145 | ||
146 | procdir = opendir("/proc"); | 146 | procdir = bb_xopendir("/proc"); |
147 | if (!procdir) | ||
148 | bb_perror_msg_and_die ("opendir /proc"); | ||
149 | 147 | ||
150 | foundany = 0; | 148 | foundany = 0; |
151 | while ((entry = readdir(procdir)) != NULL) { | 149 | while ((entry = readdir(procdir)) != NULL) { |