psplash: Unlink the FIFO when exitting
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Aug 2008 19:12:18 +0000 (19:12 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Aug 2008 19:12:18 +0000 (19:12 +0000)
ChangeLog
psplash.c

index 35c3fb7..85b1ad3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
 2008-08-12  Richard Purdie  <rpurdie@openedhand.com>
 
        * psplash.c:
+       Unlink the fifo when exitting.
+
+2008-08-12  Richard Purdie  <rpurdie@openedhand.com>
+
+       * psplash.c:
        Allow newline terminated commands as well as null terminated ones 
        through the fifo.
 
index d5aed0d..0f2e0ca 100644 (file)
--- a/psplash.c
+++ b/psplash.c
@@ -288,6 +288,8 @@ main (int argc, char** argv)
 
   psplash_main (fb, pipe_fd, 0);
 
+  unlink(PSPLASH_FIFO);
+
   if (!disable_console_switch)
     psplash_console_reset ();