summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-18 22:19:27 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-18 22:19:27 +0000
commitcdd68ce1d0b2fdb8dada282c99517f849e87a206 (patch)
tree7caba7b5ae5833e91777ea05bf75d0a787ab8bd8 /perl-install/standalone
parentab1d20e72fe7b09f9496655c996794a4747fdd2e (diff)
downloaddrakx-cdd68ce1d0b2fdb8dada282c99517f849e87a206.tar
drakx-cdd68ce1d0b2fdb8dada282c99517f849e87a206.tar.gz
drakx-cdd68ce1d0b2fdb8dada282c99517f849e87a206.tar.bz2
drakx-cdd68ce1d0b2fdb8dada282c99517f849e87a206.tar.xz
drakx-cdd68ce1d0b2fdb8dada282c99517f849e87a206.zip
(quit_global) do not die in exit path when not run as root
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/harddrake22
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/harddrake2 b/perl-install/standalone/harddrake2
index 211e93c70..8120f025b 100755
--- a/perl-install/standalone/harddrake2
+++ b/perl-install/standalone/harddrake2
@@ -346,7 +346,7 @@ $w->main;
sub quit_global() {
kill(15, $pid) if $pid;
- setVarsInSh($conffile, \%options);
+ setVarsInSh($conffile, \%options) if !$::testing;
ugtk2->exit(0);
}