noice.c | 2 +- diff --git a/noice.c b/noice.c index 07f2f78dc9931b504f349d591974029b4cc813cb..e61e82016e0a349e93b8d6bcb16642fa53ca8e0c 100644 --- a/noice.c +++ b/noice.c @@ -353,12 +353,12 @@ goto nochange; } r = fstat(fd, &sb); close(fd); - DPRINTF_U(sb.st_mode); if (r == -1) { printwarn(); free(pathnew); goto nochange; } + DPRINTF_U(sb.st_mode); /* Directory */ if (S_ISDIR(sb.st_mode)) { free(path);