summaryrefslogtreecommitdiffstats
path: root/mgaapplet
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-05-13 15:37:36 +0000
committerColin Guthrie <colin@mageia.org>2013-05-13 15:37:36 +0000
commit39dccc8f54b55959230b79ed1e8603c41ef11f4e (patch)
treeadbdfc4da89f993ca08565626a260eff116b4bcb /mgaapplet
parentf0f1a4c7c569a9a9419ff76934d6c205e05be30c (diff)
downloadmgaonline-39dccc8f54b55959230b79ed1e8603c41ef11f4e.tar
mgaonline-39dccc8f54b55959230b79ed1e8603c41ef11f4e.tar.gz
mgaonline-39dccc8f54b55959230b79ed1e8603c41ef11f4e.tar.bz2
mgaonline-39dccc8f54b55959230b79ed1e8603c41ef11f4e.tar.xz
mgaonline-39dccc8f54b55959230b79ed1e8603c41ef11f4e.zip
Fix an accidental paste before committing :s
Not sure how that happened :s
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!"));
});