Audit setsid(1)

Nothing special, just a small style-fix.
This commit is contained in:
FRIGN
2015-03-02 00:20:35 +01:00
parent 48696d8c95
commit 7afc84396a
2 changed files with 3 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ main(int argc, char *argv[])
usage();
} ARGEND;
if (argc < 1)
if (!argc)
usage();
if (getpgrp() == getpid()) {
@@ -38,5 +38,6 @@ main(int argc, char *argv[])
execvp(argv[0], argv);
savederrno = errno;
weprintf("execvp %s:", argv[0]);
return (savederrno == ENOENT) ? 127 : 126;
}