Warn if temporary directory doesn't begin with /

This commit is contained in:
Eric Fischer 2016-04-07 10:47:46 -07:00
parent 39285c8102
commit 1eb0537302

View File

@ -2573,6 +2573,9 @@ int main(int argc, char **argv) {
case 't':
tmpdir = optarg;
if (tmpdir[0] != '/') {
fprintf(stderr, "Warning: temp directory %s doesn't begin with /\n", tmpdir);
}
break;
case 'g':