[pve-devel] [PATCH pve-common 2/2] fix CLONE constant declaration

Wolfgang Bumiller w.bumiller at proxmox.com
Fri Oct 30 10:31:01 CET 2015


---
 src/PVE/Tools.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/PVE/Tools.pm b/src/PVE/Tools.pm
index b6849f2..125c307 100644
--- a/src/PVE/Tools.pm
+++ b/src/PVE/Tools.pm
@@ -67,12 +67,12 @@ our $IPV6RE = "(?:" .
 
 our $IPRE = "(?:$IPV4RE|$IPV6RE)";
 
-use constant (CLONE_NEWNS   => 0x00020000,
+use constant {CLONE_NEWNS   => 0x00020000,
               CLONE_NEWUTS  => 0x04000000,
               CLONE_NEWIPC  => 0x08000000,
               CLONE_NEWUSER => 0x10000000,
               CLONE_NEWPID  => 0x20000000,
-              CLONE_NEWNET  => 0x40000000);
+              CLONE_NEWNET  => 0x40000000};
 
 sub run_with_timeout {
     my ($timeout, $code, @param) = @_;
-- 
2.1.4





More information about the pve-devel mailing list