Whamcloud - gitweb
b=19720
[fs/lustre-release.git] / lustre / liblustre / llite_lib.c
index 7baec8c..bac1928 100644 (file)
@@ -409,7 +409,7 @@ void __liblustre_cleanup_(void)
          * but it can't fix the situation that liblustre is mounted
          * at "/".
          */
-        chdir("/");
+        if (!chdir("/")) {}
 #if 0
         umount(lustre_path);
 #endif