1
0
mirror of synced 2026-05-02 22:42:51 +00:00

Minor fix, can't delete image w/out hostname

This commit is contained in:
Dmitry Nedospasov
2010-07-05 10:15:38 +02:00
parent 8834e669dd
commit 3359c10349

View File

@@ -4146,7 +4146,9 @@ sub END
$CONFIG{ 'verbose' } &&
logprint("Removing failed install: $CONFIG{'hostname'}\n");
system("xen-delete-image --hostname=$CONFIG{'hostname'}");
$CONFIG{ 'hostname' } &&
system("xen-delete-image --hostname=$CONFIG{'hostname'}");
} elsif ( $FAIL == 0 ) {
#
# Assume success