mirror of
https://github.com/koush/scrypted.git
synced 2026-06-11 05:10:30 +01:00
lxc-docker: fix mp restore
This commit is contained in:
@@ -148,9 +148,8 @@ then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
PCT_CONFIG=$(pct config $RESTORE_VMID)
|
||||
function move_volume() {
|
||||
HAS_VOLUME=$(echo $PCT_CONFIG | grep $1:)
|
||||
HAS_VOLUME=$(pct config $RESTORE_VMID | grep $1:)
|
||||
if [ -n "$HAS_VOLUME" ]
|
||||
then
|
||||
echo "Moving $1..."
|
||||
|
||||
Reference in New Issue
Block a user