1
0
mirror of git://git.suckless.org/sbase synced 2024-12-21 22:50:16 +00:00

uname: check that no operands are specified

Signed-off-by: Mattias Andrée <maandree@kth.se>
This commit is contained in:
Mattias Andrée 2018-07-11 20:53:17 +02:00 committed by Michael Forney
parent a1627b9419
commit d8656b0189

View File

@ -40,6 +40,9 @@ main(int argc, char *argv[])
usage();
} ARGEND
if (argc)
usage();
if (uname(&u) < 0)
eprintf("uname:");