realpath.c(main): Remove duplicate if condition.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/* -*- C -*-
|
||||
Copyright (C) 2010, 2011 Rocky Bernstein <rocky@gnu.org>
|
||||
Copyright (C) 2010, 2011, 2012 Rocky Bernstein <rocky@gnu.org>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -97,12 +97,8 @@ main(int argc, const char *argv[])
|
||||
if (NULL == psz_tmp_subdir) {
|
||||
exit(77);
|
||||
}
|
||||
if (NULL == psz_tmp_subdir) {
|
||||
printf("extract parent directory from temporary directory name\n");
|
||||
exit(77);
|
||||
}
|
||||
|
||||
if (-1 == check_rc(mkdir(psz_tmp_subdir, 0755),
|
||||
if (-1 == check_rc(mkdir(psz_tmp_subdir, 0700),
|
||||
"mkdir", psz_tmp_subdir))
|
||||
exit(77);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user