File: 101-dash-bash-fw_conntrack.patch

package info (click to toggle)
munin 1.4.5-3+deb6u1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze-lts
  • size: 4,988 kB
  • ctags: 806
  • sloc: perl: 8,936; sh: 3,105; java: 1,754; makefile: 585; python: 143
file content (22 lines) | stat: -rw-r--r-- 759 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Debian specific patch. dash has a bug
 (http://bugs.debian.org/595063), where read() builtin doesn't work with /proc
 files containing an integer value.

 Using bash instead of dash solves the problem for this plugin.

 Once dash fixes this issue, this patch can be removed.
Origin: other
Bug-Debian: http://bugs.debian.org/594695
Forwarded: no
Author: Tom Feiner <feiner.tom@gmail.com>
Last-Update: 2010-09-01
Index: munin-1.4.5/plugins/node.d.linux/fw_conntrack.in
===================================================================
--- munin-1.4.5.orig/plugins/node.d.linux/fw_conntrack.in	(revision 3824)
+++ munin-1.4.5/plugins/node.d.linux/fw_conntrack.in	(working copy)
@@ -1,4 +1,4 @@
-#!@@GOODSH@@
+#!@@BASH@@
 # -*- sh -*-
 
 : << =cut