]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
Don't default to last known option when setting flags
authorCasey Dahlin <cdahlin@redhat.com>
Tue, 5 Aug 2008 19:40:41 +0000 (15:40 -0400)
committerRay Strode <rstrode@redhat.com>
Tue, 5 Aug 2008 20:31:09 +0000 (16:31 -0400)
src/libply/ply-command-parser.c

index e81229839d4b534857266a920248fadd5a8241e4..74c566ab8d24b59e013c7f5f9d8f7eebc96432e7 100644 (file)
@@ -292,6 +292,9 @@ ply_command_get_option (ply_command_t *command,
       node = next_node;
     }
 
+  if (node == NULL)
+      return NULL;
+
   return option;
 }