diff --git a/reboot/reboot.c b/reboot/reboot.c index d9a422764..007dfbaa4 100644 --- a/reboot/reboot.c +++ b/reboot/reboot.c @@ -35,7 +35,7 @@ int main(int argc, char *argv[]) c = getopt(argc, argv, "p"); - if (c == EOF) { + if (c == -1) { break; }