aboutsummaryrefslogtreecommitdiffstats
path: root/gurpmi.addmedia
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-10-27 16:49:21 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-10-27 16:49:21 +0000
commit8db2ef3faaa959fc470c78e9add0fcbff9202f03 (patch)
treedefd0735ce72b8c6da8c538f61b4ebac8186513a /gurpmi.addmedia
parentf4d7db31562e1d8a5d418d257e58e3204c18b8b6 (diff)
downloadrpmdrake-8db2ef3faaa959fc470c78e9add0fcbff9202f03.tar
rpmdrake-8db2ef3faaa959fc470c78e9add0fcbff9202f03.tar.gz
rpmdrake-8db2ef3faaa959fc470c78e9add0fcbff9202f03.tar.bz2
rpmdrake-8db2ef3faaa959fc470c78e9add0fcbff9202f03.tar.xz
rpmdrake-8db2ef3faaa959fc470c78e9add0fcbff9202f03.zip
Get rid of c::_exit
Diffstat (limited to 'gurpmi.addmedia')
-rwxr-xr-xgurpmi.addmedia3
1 files changed, 2 insertions, 1 deletions
diff --git a/gurpmi.addmedia b/gurpmi.addmedia
index 2b458c96..ecedf817 100755
--- a/gurpmi.addmedia
+++ b/gurpmi.addmedia
@@ -48,7 +48,8 @@ use rpmdrake;
eval { require ugtk2; ugtk2->import(qw(:all)) };
if ($@) {
print "This program cannot be run in console mode.\n";
- c::_exit(0); #- skip ugtk2::END
+ use POSIX qw(_exit);
+ _exit(0); #- skip ugtk2::END
}
$::isStandalone = 1;