check_diskspace_func fails on df output wrap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
h264enc (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: h264enc
Whenever df wraps a line, check_diskspace
+ check_diskspace
++ tail -n 1
++ awk '{print $4}'
+++ dirname /opt/data03/
++ df -m /opt/data03/
+ HDOUT=71%
++ df -m /root/.
++ tail -n 1
++ awk '{print $4}'
+ HDCONF=64932
+ '[' 71% -le 4096 -o 64932 -le 4096 ']'
/usr/bin/h264enc: line 3093: [: 71%: integer expression expected
df -m "$(dirname /opt/data03/
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/mapper/
echo $(df -m "$(dirname /opt/data03/
71%
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: h264enc 9.2.8~dfsg-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.37-7-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Sun Dec 5 10:57:40 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)
PackageArchitec
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: h264enc