]> git.proxmox.com Git - pve-storage.git/commitdiff
use warnings instead of global -w flag
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 1 Oct 2013 11:07:46 +0000 (13:07 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 1 Oct 2013 11:08:43 +0000 (13:08 +0200)
PVE/Storage.pm
changelog.Debian
pvesm

index 264239695e8fd7fc1930b4aa6487d50c8109305d..7858f4172c8cce98804b70abee994a9cedcb1438 100755 (executable)
@@ -1,6 +1,8 @@
 package PVE::Storage;
 
 use strict;
+use warnings;
+
 use POSIX;
 use IO::Select;
 use IO::File;
index 6ef03f2c412db918c1343eb0e6f304e23687c1b6..28b16ae74494ad3e7d2d66b07ae6e1c30857cd0e 100644 (file)
@@ -3,6 +3,8 @@ libpve-storage-perl (3.0-14) unstable; urgency=low
   * storage library: add new helper parse_volname()
 
   * storage library:  add new helper abs_filesystem_path()
+  
+  * use warnings instead of global -w flag
 
  -- Proxmox Support Team <support@proxmox.com>  Tue, 01 Oct 2013 11:28:40 +0200
 
diff --git a/pvesm b/pvesm
index 27b173361b6c5e71bd04839b09f5ccd229741dd1..76d345c2ac9455d5e8de3e788e52fe80ddf8dec9 100755 (executable)
--- a/pvesm
+++ b/pvesm
@@ -1,6 +1,7 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
 
 use strict;
+use warnings;
 use Getopt::Long;
 use Fcntl ':flock';
 use File::Path;