summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-17 16:28:58 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-17 16:28:58 +0000
commitc38459a2348d284cd90156f9df009191f3bc05a4 (patch)
tree1000291e6bed3f58d7c06e5243e5ba095c711bb0
parent39fe1c56a51e4ef5ed7e630025a037885d37494c (diff)
downloaddrakx-backup-do-not-use-c38459a2348d284cd90156f9df009191f3bc05a4.tar
drakx-backup-do-not-use-c38459a2348d284cd90156f9df009191f3bc05a4.tar.gz
drakx-backup-do-not-use-c38459a2348d284cd90156f9df009191f3bc05a4.tar.bz2
drakx-backup-do-not-use-c38459a2348d284cd90156f9df009191f3bc05a4.tar.xz
drakx-backup-do-not-use-c38459a2348d284cd90156f9df009191f3bc05a4.zip
do not continue if installing msec crashed or was canceled (#38911)
-rw-r--r--perl-install/NEWS3
-rwxr-xr-xperl-install/standalone/draksec2
2 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index a6a6dd3f6..f86e72023 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- draksec
+ o do not continue if installing msec crashed or was canceled (#38911)
+
Version 10.4.239.4 - 05 February 2008, by Thierry Vignaud
- bootloader-config:
diff --git a/perl-install/standalone/draksec b/perl-install/standalone/draksec
index 38ba2c02f..273ec9770 100755
--- a/perl-install/standalone/draksec
+++ b/perl-install/standalone/draksec
@@ -462,7 +462,7 @@ $oc->{buttons}{N("Help")}->set_sensitive(0);
$oc->{cancel}->can_default(1);
$oc->{cancel}->grab_default;
-$in->do_pkgs->ensure_is_installed('msec', '/usr/sbin/msec');
+exit(1) if !$in->do_pkgs->ensure_is_installed('msec', '/usr/sbin/msec');
$w->main;
ugtk2->exit(0);