projects
/
mirror
/
dsa-nagios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96d7afd
)
use xzcat to unpack kernel image, not lzcat
author
Uli Martens
<uli@youam.net>
Sun, 2 Dec 2012 20:50:06 +0000
(21:50 +0100)
committer
Martin Zobel-Helas
<zobel@debian.org>
Sun, 2 Dec 2012 21:04:38 +0000
(22:04 +0100)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
dsa-nagios-checks/checks/dsa-check-running-kernel
patch
|
blob
|
history
diff --git
a/dsa-nagios-checks/checks/dsa-check-running-kernel
b/dsa-nagios-checks/checks/dsa-check-running-kernel
index
0ff3ed3
..
a5874dc
100755
(executable)
--- a/
dsa-nagios-checks/checks/dsa-check-running-kernel
+++ b/
dsa-nagios-checks/checks/dsa-check-running-kernel
@@
-147,7
+147,7
@@
get_image_linux() {
off=`get_offset "$image" $LZHDR`
[ "$?" != "0" ] && off="-1"
if [ "$off" -ne "-1" ]; then
- (dd ibs="$[off-1]" skip=1 count=0 && dd bs=512k) < "$image" 2>/dev/null |
l
zcat 2>/dev/null
+ (dd ibs="$[off-1]" skip=1 count=0 && dd bs=512k) < "$image" 2>/dev/null |
x
zcat 2>/dev/null
return
fi