summaryrefslogtreecommitdiff
path: root/udevsend.c
diff options
context:
space:
mode:
Diffstat (limited to 'udevsend.c')
-rw-r--r--udevsend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/udevsend.c b/udevsend.c
index 3f3bbacbc2..0a305e50c4 100644
--- a/udevsend.c
+++ b/udevsend.c
@@ -87,6 +87,7 @@ static int start_daemon(void)
case 0:
/* daemon */
setsid();
+ chdir("/");
execl(UDEVD_EXEC, "udevd", NULL);
dbg("exec of daemon failed");
exit(1);