diff options
-rwxr-xr-x | mgaapplet | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -399,7 +399,6 @@ sub confirm_upgrade() { Gtk2::FileChooserButton->new(N("Browse"), 'select-folder'), 'current-folder-changed' => sub { $temp_dir = $_[0]->get_current_folder; - stat($temp_dir)[4] my $ok = -d $temp_dir && ! -l $temp_dir && (stat($temp_dir)[4] == 0); $ok or ask_warn(N("Error"), N("You must choose a directory owned by the super administrator!")); }); |