From 96bd9a99933818bf208fce90b5ec282f9a26503f Mon Sep 17 00:00:00 2001 From: "R. Bernstein" Date: Sat, 28 Jan 2012 23:31:24 -0500 Subject: [PATCH] realpath.c(main): Remove duplicate if condition. --- test/driver/realpath.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/test/driver/realpath.c b/test/driver/realpath.c index 2757a9c2..866f6edc 100644 --- a/test/driver/realpath.c +++ b/test/driver/realpath.c @@ -1,5 +1,5 @@ /* -*- C -*- - Copyright (C) 2010, 2011 Rocky Bernstein + Copyright (C) 2010, 2011, 2012 Rocky Bernstein 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);