aboutsummaryrefslogtreecommitdiffstats
path: root/nagios-plugins
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2011-11-15 00:01:20 +0000
committerPetter Reinholdtsen <pere@hungry.com>2011-11-15 00:01:20 +0000
commitdd340e3a085adda86462e3e42cb2ca4d644f1869 (patch)
tree73760fbada27a539e86951a17e8db3920ded0903 /nagios-plugins
parent0ea0a7ebe8d225ae4c5a022548974a6075abab89 (diff)
downloadsitesummary-dd340e3a085adda86462e3e42cb2ca4d644f1869.tar.gz
sitesummary-dd340e3a085adda86462e3e42cb2ca4d644f1869.tar.bz2
sitesummary-dd340e3a085adda86462e3e42cb2ca4d644f1869.tar.xz
Adjust nagios-plugins/check_cups_queue to enforce the C locale
is used to get age calculation working independent of system locale.
Diffstat (limited to 'nagios-plugins')
-rwxr-xr-xnagios-plugins/check_cups_queue4
1 files changed, 2 insertions, 2 deletions
diff --git a/nagios-plugins/check_cups_queue b/nagios-plugins/check_cups_queue
index 859a10a..4666bc8 100755
--- a/nagios-plugins/check_cups_queue
+++ b/nagios-plugins/check_cups_queue
@@ -16,8 +16,8 @@
# Location of the lpstat command (if not in path)
LPSTAT="/usr/bin/lpstat"
-
-
+# Ensure known locale
+export LC_ALL=C
# Don't change anything below here