Followup to 'initctl with process name as well as JOBID'

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2015-06-21 17:56:41 +02:00
1 parent be074abce8
commit d0da3b8b98
4 files changed
+75 -57

No files matched your search

+3
View File
@@ -115,6 +115,9 @@ int atonum(char *str)
int val;
char *end;
if (!str)
return -1;
errno = 0;
val = strtol(str, &end, 10);
if (errno || end == str)