diff options
Diffstat (limited to 'rpmdrake')
-rwxr-xr-x | rpmdrake | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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(); |