enter: Remove cut and paste error code

tingping/wmclass
Alexander Larsson 2016-05-06 15:06:17 +02:00
parent e12d93b069
commit f17fd2a705
1 changed files with 0 additions and 1 deletions

View File

@ -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;