From 6495de9cdae682b82f078891492c317e6937438d Mon Sep 17 00:00:00 2001 From: immarvin Date: Wed, 7 Dec 2016 03:59:23 -0500 Subject: [PATCH] correct the path of genimage lock --- perl-xCAT/xCAT/Utils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/Utils.pm b/perl-xCAT/xCAT/Utils.pm index d28ea58ae..af8f42fcf 100644 --- a/perl-xCAT/xCAT/Utils.pm +++ b/perl-xCAT/xCAT/Utils.pm @@ -4817,7 +4817,7 @@ sub acquire_lock_imageop { my $lock = xCAT::Utils->acquire_lock("$mylockfile", $NON_BLOCK); unless ($lock){ my $pidfd; - open($pidfd,"<","/var/run/lock/xcat/$mylockfile"); + open($pidfd,"<","/var/lock/xcat/$mylockfile"); my $pid=<$pidfd>; close($pidfd); return (1, "failed to acquire lock, seems there is another genimage/packimage/rmimage process $pid running on root image dir \"$rootimg_dir\"");