summaryrefslogtreecommitdiff
path: root/udevd.c
diff options
context:
space:
mode:
authorMarco d'Itri <md@Linux.IT>2006-08-22 23:20:15 +0200
committerKay Sievers <kay.sievers@suse.de>2006-08-22 23:20:15 +0200
commit2f64aa4056835231ed297a79d39d5416e0045d0c (patch)
treeb6b12c322d97fcb4d65f2e77796fa2f7e3be9a1a /udevd.c
parent02adc0cbd637862f6e9cf8319c80def0fa31b4e7 (diff)
fix rc when using udev --daemon
Diffstat (limited to 'udevd.c')
-rw-r--r--udevd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/udevd.c b/udevd.c
index e27dd78db3..de7cace3e1 100644
--- a/udevd.c
+++ b/udevd.c
@@ -990,6 +990,7 @@ int main(int argc, char *argv[], char *envp[])
goto exit;
default:
dbg("child [%u] running, parent exits", pid);
+ rc = 0;
goto exit;
}
}