Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
34b9da88
Commit
34b9da88
authored
May 27, 2020
by
Francesc Guasch
Browse files
fix(backend): only clean when no base
issue #1340
parent
459bafed
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/Ravada/Domain.pm
View file @
34b9da88
...
...
@@ -4488,7 +4488,10 @@ sub _post_change_hardware($self, $hardware, $index, $data=undef) {
my
@volumes
=
$self
->
list_volumes_info
();
}
$self
->
info
(
Ravada::Utils::
user_daemon
)
if
$self
->
is_known
();
$self
->
_remove_domain_cascade
(
Ravada::Utils::
user_daemon
,
1
)
if
$self
->
is_known
();
$self
->
_remove_domain_cascade
(
Ravada::Utils::
user_daemon
,
1
)
if
$self
->
is_known
()
&&
!
$self
->
is_base
;
$self
->
needs_restart
(
1
)
if
$self
->
is_known
&&
$self
->
_data
('
status
')
eq
'
active
';
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment