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
77a5502a
Commit
77a5502a
authored
Sep 22, 2017
by
Francesc Guasch
Browse files
[#343] Die rvd if no VMs
parent
b4dedf8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/Ravada.pm
View file @
77a5502a
...
@@ -800,9 +800,7 @@ sub _create_vm {
...
@@ -800,9 +800,7 @@ sub _create_vm {
my
$err_lxc
=
$@
;
my
$err_lxc
=
$@
;
$err
.=
"
\n
$err_lxc
"
if
$err_lxc
;
$err
.=
"
\n
$err_lxc
"
if
$err_lxc
;
}
}
if
(
!
@vms
)
{
die
"
No VMs found:
$err
\n
"
if
$self
->
warn_error
&&
!
@vms
;
warn
"
No VMs found:
$err
\n
"
if
$self
->
warn_error
;
}
return
\
@vms
;
return
\
@vms
;
}
}
...
...
Write
Preview
Supports
Markdown
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