Skip to content
Snippets Groups Projects
Commit 88d1f719 authored by intrigeri's avatar intrigeri
Browse files

Fixed a critical bug in sys handler vservers support: it tried (and failed) to...

Fixed a critical bug in sys handler vservers support: it tried (and failed) to save packages list even if packages=no.
parent 3d3c5aa3
No related branches found
No related tags found
No related merge requests found
...@@ -95,6 +95,7 @@ fi ...@@ -95,6 +95,7 @@ fi
# here we grab a list of the packages installed and removed. # here we grab a list of the packages installed and removed.
# #
if [ "$packages" == "yes" ]; then
if [ $usevserver ] if [ $usevserver ]
then then
for vserver in `ls $VROOTDIR | grep -E -v $nodpkg` for vserver in `ls $VROOTDIR | grep -E -v $nodpkg`
...@@ -109,7 +110,7 @@ if [ "$packages" == "yes" ]; then ...@@ -109,7 +110,7 @@ if [ "$packages" == "yes" ]; then
debug "dpkg --get-selections > $packagesfile" debug "dpkg --get-selections > $packagesfile"
dpkg --get-selections > $packagesfile dpkg --get-selections > $packagesfile
fi fi
fi
## PARTITIONS ############################# ## PARTITIONS #############################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment