In message string, $ should be $1
authorGreg Sabino Mullane <[email protected]>
Tue, 25 Jan 2011 05:12:39 +0000 (00:12 -0500)
committerGreg Sabino Mullane <[email protected]>
Tue, 25 Jan 2011 05:12:39 +0000 (00:12 -0500)
check_postgres.pl

index 5243dfc06309692d376a521008a3618f1d2770b5..c5348156e10f64b692c779c63a4c4bd6578e29ff 100755 (executable)
@@ -211,7 +211,7 @@ our %msg = (
     'range-warnbigsize'  => q{The 'warning' option ($1 bytes) cannot be larger than the 'critical' option ($2 bytes)},
     'range-warnbigtime'  => q{The 'warning' option ($1 s) cannot be larger than the 'critical' option ($2 s)},
     'range-warnsmall'    => q{The 'warning' option cannot be less than the 'critical' option},
-    'range-nointfortime' => q{Invalid argument for '$' options: must be an integer, time or integer for time},
+    'range-nointfortime' => q{Invalid argument for '$1' options: must be an integer, time or integer for time},
     'relsize-msg-ind'    => q{largest index is "$1": $2},
     'relsize-msg-reli'   => q{largest relation is index "$1": $2},
     'relsize-msg-relt'   => q{largest relation is table "$1": $2},
@@ -425,7 +425,7 @@ our %msg = (
     'range-warnbigsize'  => q{L'option warning ($1 octets) ne peut pas être plus grand que l'option critical ($2 octets)},
     'range-warnbigtime'  => q{L'option warning ($1 s) ne peut pas être plus grand que l'option critical ($2 s)},
     'range-warnsmall'    => q{L'option warningne peut pas être plus petit que l'option critical},
-'range-nointfortime' => q{Invalid argument for '$' options: must be an integer, time or integer for time},
+'range-nointfortime' => q{Invalid argument for '$1' options: must be an integer, time or integer for time},
     'relsize-msg-ind'    => q{le plus gros index est « $1 » : $2},
     'relsize-msg-reli'   => q{la plus grosse relation est l'index « $1 » : $2},
     'relsize-msg-relt'   => q{la plus grosse relation est la table « $1 » : $2},