summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2008-06-23 13:08:07 -0400
committerRay Strode <rstrode@redhat.com>2008-06-23 13:08:07 -0400
commiteb47bef71c1bbfdb98eacfda3dba7f2a1d9625d0 (patch)
tree650f08533001a7095cca142df3e8b804f45cb4c5
parentcc0fc4e577e4f397e7115eabfa74ce2f2629f29c (diff)
downloadplymouth-eb47bef71c1bbfdb98eacfda3dba7f2a1d9625d0.tar.gz
plymouth-eb47bef71c1bbfdb98eacfda3dba7f2a1d9625d0.tar.xz
plymouth-eb47bef71c1bbfdb98eacfda3dba7f2a1d9625d0.zip
change to root directory before trying to access files
This fixes running plymouth after bootup
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index e855f68..7fe4d15 100644
--- a/src/main.c
+++ b/src/main.c
@@ -435,6 +435,8 @@ main (int argc,
return EX_USAGE;
}
+ chdir ("/");
+
daemon_handle = ply_create_daemon ();
if (daemon_handle == NULL)