transfused: it is ok if the pidfile does not yet exist

This commit is contained in:
David Sheets 2016-02-12 11:46:18 +00:00
parent eb199ca9d7
commit cbd5ca5991

View File

@ -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)