summaryrefslogtreecommitdiffstats
path: root/mgaapplet
diff options
context:
space:
mode:
Diffstat (limited to 'mgaapplet')
-rwxr-xr-xmgaapplet1
1 files changed, 0 insertions, 1 deletions
diff --git a/mgaapplet b/mgaapplet
index b639759c..33deb691 100755
--- a/mgaapplet
+++ b/mgaapplet
@@ -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!"));
});