summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-private')
-rw-r--r--libcaja-private/caja-directory-async.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libcaja-private/caja-directory-async.c b/libcaja-private/caja-directory-async.c
index 615bcd93..b50c168e 100644
--- a/libcaja-private/caja-directory-async.c
+++ b/libcaja-private/caja-directory-async.c
@@ -3861,14 +3861,9 @@ is_link_trusted (CajaFile *file,
return TRUE;
}
- if (caja_file_can_execute (file))
- {
- return TRUE;
- }
-
res = FALSE;
- if (caja_file_is_local (file))
+ if (caja_file_can_execute (file) && caja_file_is_local (file))
{
GFile *location;