瀏覽代碼

check_disk: Resolves #491 (and reverts c6d5d5e2e88e004d10ab03fe5cf70a322dbf974c) in such a way that the resulting code doesn't look like a mistake. -L is intended as a superset of -l according to the helptext of the plugin.

madlohe 6 年之前
父節點
當前提交
a725cb0b8c
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      plugins/check_disk.c

+ 2 - 1
plugins/check_disk.c

@@ -832,8 +832,9 @@ process_arguments (int argc, char **argv)
         free(units);
       units = strdup ("MB");
       break;
-    case 'L':
+    case 'L': /* show local filesystems, but stat remote filesystems for accessibility */
       stat_remote_fs = 1;
+      show_local_fs = 1;
       break;
     case 'l':
       show_local_fs = 1;