Commit 826eb798 by S.Çağlar Onur Committed by Stéphane Graber

use /var/lock/subsys/lxc-centos instead of /var/lock/subsys/lxc as a lock name

parent ccef566e
...@@ -376,7 +376,7 @@ install_centos() ...@@ -376,7 +376,7 @@ install_centos()
return 0 return 0
) 200>/var/lock/subsys/lxc ) 200>/var/lock/subsys/lxc-centos
return $? return $?
} }
...@@ -457,7 +457,7 @@ clean() ...@@ -457,7 +457,7 @@ clean()
rm --preserve-root --one-file-system -rf $cache && echo "Done." || exit 1 rm --preserve-root --one-file-system -rf $cache && echo "Done." || exit 1
exit 0 exit 0
) 200>/var/lock/subsys/lxc ) 200>/var/lock/subsys/lxc-centos
} }
usage() usage()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment