summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-05-06 15:06:17 +0200
committerAlexander Larsson <alexl@redhat.com>2016-05-06 15:06:17 +0200
commitf17fd2a705df31c572b0aa18b369dacca5230f04 (patch)
tree2bc63c99530d1ded9c605391e911520d6785340e /app
parente12d93b06915b55e29c89604b21112a6ae814910 (diff)
downloadxdg-app-f17fd2a705df31c572b0aa18b369dacca5230f04.tar.gz
enter: Remove cut and paste error code
Diffstat (limited to 'app')
-rw-r--r--app/xdg-app-builtins-enter.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/xdg-app-builtins-enter.c b/app/xdg-app-builtins-enter.c
index c751306..6b02bca 100644
--- a/app/xdg-app-builtins-enter.c
+++ b/app/xdg-app-builtins-enter.c
@@ -196,7 +196,6 @@ xdg_app_builtin_enter (int argc,
self_ns_len = readlink (self_path, self_ns, sizeof (self_ns) - 1);
if (self_ns_len <= 0)
- if (pid_ns_len <= 0)
return xdg_app_fail (error, "Invalid %s namespace for self\n", ns_name[i]);
self_ns[self_ns_len] = 0;