Sfoglia il codice sorgente

check_disk_smb: Optionally import utf8::all (see #479)

madlohe 6 anni fa
parent
commit
1b8ad572ea
2 ha cambiato i file con 2 aggiunte e 4 eliminazioni
  1. 1 0
      THANKS.in
  2. 1 4
      plugins-scripts/check_disk_smb.pl

+ 1 - 0
THANKS.in

@@ -392,6 +392,7 @@ Tilman Koschnick
 Tilmann Bubeck
 Tim Laszlo
 Tobias Brox
+Todd Zullinger (tmzullinger)
 Tom Bertelston
 Tom De Blende
 Tom Payerle

+ 1 - 4
plugins-scripts/check_disk_smb.pl

@@ -19,10 +19,7 @@
 #
 
 require 5.004;
-eval "use utf8::all";
-if ( $@ ) {
-    use utf8::all;
-}
+eval { require utf8::all };
 use POSIX;
 use strict;
 use Getopt::Long;