aboutsummaryrefslogtreecommitdiffstats
path: root/psplash.c
diff options
context:
space:
mode:
Diffstat (limited to 'psplash.c')
-rw-r--r--psplash.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/psplash.c b/psplash.c
index 2a7ae38..d5aed0d 100644
--- a/psplash.c
+++ b/psplash.c
@@ -175,6 +175,15 @@ psplash_main (PSplashFB *fb, int pipe_fd, int timeout)
return;
length = 0;
}
+ else if (command[length-1] == '\n')
+ {
+ command[length-1] = '\0';
+ if (parse_command(fb, command, strlen(command)))
+ return;
+ length = 0;
+ }
+
+
out:
end = &command[length];