diff options
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index 419d773a..7c78900a 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -80,7 +80,6 @@ our @EXPORT = qw( myexit readconf remove_wait_msg - run_as_user run_drakbug show_urpm_progress slow_func @@ -951,15 +950,6 @@ sub add_distrib_update_media { ); } -sub run_as_user { - if (my $user = $ENV{USERHELPER_UID} && getpwuid($ENV{USERHELPER_UID})) { - run_program::raw({ detach => 1 }, 'su', $user, '-c', join(' ', @_)); - } else { - run_program::raw({ detach => 1 }, @_); - } -} - - sub open_help { my ($mode) = @_; use run_program; |