From 8db2ef3faaa959fc470c78e9add0fcbff9202f03 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 27 Oct 2005 16:49:21 +0000 Subject: Get rid of c::_exit --- rpmdrake.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rpmdrake.pm') diff --git a/rpmdrake.pm b/rpmdrake.pm index 78f01b6c..4d01f8ab 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -34,6 +34,7 @@ use URPM; use URPM::Resolve; use strict; use c; +use POSIX qw(_exit); use common; use curl_download; @@ -83,7 +84,7 @@ unshift @::textdomains, 'rpmdrake', 'urpmi'; eval { require ugtk2; ugtk2->import(qw(:all)) }; if ($@) { print "This program cannot be run in console mode.\n"; - c::_exit(0); #- skip ugtk2::END + _exit(0); #- skip ugtk2::END } ugtk2::add_icon_path('/usr/share/rpmdrake/icons'); -- cgit v1.2.1