aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake
diff options
context:
space:
mode:
Diffstat (limited to 'rpmdrake')
-rwxr-xr-xrpmdrake3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 3093256d..4b56c65a 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -24,6 +24,7 @@ use strict;
use MDK::Common 'any';
use lib qw(/usr/lib/libDrakX);
use common;
+use POSIX qw(_exit);
BEGIN { #- we want to run this code before the Gtk->init of the use-my_gtk
my $basename = sub { local $_ = shift; s|/*\s*$||; s|.*/||; $_ };
@@ -85,7 +86,7 @@ unless ($MODE) {
eval { require ugtk2; ugtk2->import(qw(:all)); require Gtk2::Pango; require Gtk2::Gdk::Keysyms };
if ($@) {
print "This program cannot be run in console mode.\n";
- c::_exit(0); #- skip ugtk2::END
+ _exit(0); #- skip ugtk2::END
}
$MODE eq 'update' || $options{root} and require_root_capability();