From f17fd2a705df31c572b0aa18b369dacca5230f04 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Fri, 6 May 2016 15:06:17 +0200 Subject: [PATCH] enter: Remove cut and paste error code --- app/xdg-app-builtins-enter.c | 1 - 1 file changed, 1 deletion(-) diff --git a/app/xdg-app-builtins-enter.c b/app/xdg-app-builtins-enter.c index c751306a..6b02bca0 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;