summaryrefslogtreecommitdiffstats
path: root/web/attachments/265188-31_check_disk_local_option.dpatch
diff options
context:
space:
mode:
Diffstat (limited to 'web/attachments/265188-31_check_disk_local_option.dpatch')
-rw-r--r--web/attachments/265188-31_check_disk_local_option.dpatch17
1 files changed, 17 insertions, 0 deletions
diff --git a/web/attachments/265188-31_check_disk_local_option.dpatch b/web/attachments/265188-31_check_disk_local_option.dpatch
new file mode 100644
index 0000000..08bbabc
--- /dev/null
+++ b/web/attachments/265188-31_check_disk_local_option.dpatch
@@ -0,0 +1,17 @@
1## 31_check_disk_local_option.dpatch by Jan Wagner <waja@cyconet.org>
2##
3## All lines beginning with `## DP:' are a description of the patch.
4## DP: Fix local option for check_disk
5
6diff -Nur nagios-plugins-1.4.11/plugins/check_disk.c.orig nagios-plugins-1.4.11/plugins/check_disk.c
7--- nagios-plugins-1.4.11/plugins/check_disk.c.orig 2007-12-08 17:34:05.000000000 +0100
8+++ nagios-plugins-1.4.11/plugins/check_disk.c 2008-02-05 22:13:43.397159697 +0100
9@@ -475,7 +475,7 @@
10 {"iwarning", required_argument, 0, 'W'},
11 /* Dang, -C is taken. We might want to reshuffle this. */
12 {"icritical", required_argument, 0, 'K'},
13- {"local", required_argument, 0, 'l'},
14+ {"local", no_argument, 0, 'l'},
15 {"stat-remote-fs", required_argument, 0, 'L'},
16 {"kilobytes", required_argument, 0, 'k'},
17 {"megabytes", required_argument, 0, 'm'},