]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
change to root directory before trying to access files
authorRay Strode <rstrode@redhat.com>
Mon, 23 Jun 2008 17:08:07 +0000 (13:08 -0400)
committerRay Strode <rstrode@redhat.com>
Mon, 23 Jun 2008 17:08:07 +0000 (13:08 -0400)
This fixes running plymouth after bootup

src/main.c

index e855f68d0308fb18118bedbae90574d049554364..7fe4d15b4f7953cf71be6f20f7fdae10ee20543e 100644 (file)
@@ -435,6 +435,8 @@ main (int    argc,
       return EX_USAGE;
     }
 
+  chdir ("/");
+
   daemon_handle = ply_create_daemon ();
 
   if (daemon_handle == NULL)