start-stop-daemon: compiler warning cleanup
This commit is contained in:
parent
71aad16256
commit
5868abe97b
@ -616,7 +616,8 @@ int main(int argc, char **argv)
|
||||
fp = fopen(exec_file, "r");
|
||||
if (fp) {
|
||||
line = NULL;
|
||||
getline(&line, &size, fp);
|
||||
if (getline(&line, &size, fp) == -1)
|
||||
eerrorx("%s: %s", applet, strerror(errno));
|
||||
p = line;
|
||||
fclose(fp);
|
||||
if (p != NULL && line[0] == '#' && line[1] == '!') {
|
||||
|
Loading…
Reference in New Issue
Block a user