mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-24 20:21:43 +00:00
sensord: Removed useless breaks after some exit() calls.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5720 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
49344ef205
commit
d71ed51702
1 file changed
-4
@@ -191,23 +191,19 @@ int parseArgs(int argc, char **argv)
|
||||
case 'v':
|
||||
printf("sensord version %s\n", LM_VERSION);
|
||||
exit(EXIT_SUCCESS);
|
||||
break;
|
||||
case 'h':
|
||||
printf("Syntax: %s {options} {chips}\n%s", argv[0],
|
||||
daemonSyntax);
|
||||
exit(EXIT_SUCCESS);
|
||||
break;
|
||||
case ':':
|
||||
case '?':
|
||||
printf("Try `%s --help' for more information.\n",
|
||||
argv[0]);
|
||||
return -1;
|
||||
break;
|
||||
default:
|
||||
fprintf(stderr,
|
||||
"Internal error while parsing options.\n");
|
||||
return -1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user