mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-08-03 16:00:36 +00:00
transfused: it is ok if the pidfile does not yet exist
This commit is contained in:
parent
c213b59a3a
commit
321ee6b30f
@ -413,6 +413,7 @@ void parse_parameters(int argc, char * argv[], parameters * params) {
|
||||
if (errflg) die(2, NULL, usage);
|
||||
|
||||
if (params->pidfile != NULL && access(params->pidfile, W_OK))
|
||||
if (errno != ENOENT)
|
||||
die(2, "", "-p %s path to pidfile must be writable: ", params->pidfile);
|
||||
|
||||
if (params->fusermount == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user