mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-07 18:58:01 +02:00
Don't require argc > 1
This commit is contained in:
parent
44c2e66f25
commit
fe6ba292f5
1 changed files with 1 additions and 1 deletions
|
|
@ -583,7 +583,7 @@ main (int argc,
|
|||
}
|
||||
}
|
||||
|
||||
if (argc <= 1 || (attach_to_session && argc != 3) || (attach_to_session && state.ptmx == -1))
|
||||
if ((attach_to_session && argc != 3) || (attach_to_session && state.ptmx == -1))
|
||||
{
|
||||
ply_error ("%s [--attach-to-session <pty_master_fd>]", argv[0]);
|
||||
return EX_USAGE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue