diff --git a/lib/procinfo_unix.C b/lib/procinfo_unix.C index 0d45933998..5d1dc4288c 100644 --- a/lib/procinfo_unix.C +++ b/lib/procinfo_unix.C @@ -176,10 +176,10 @@ int procinfo_setup(vector& pi) { pi.push_back(p); } } - } else { - closedir(dir); - return 0; - } + } else { + closedir(dir); + return 0; + } } #endif