]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/attach.c
coccinelle: use standard exit identifiers
[mirror_lxc.git] / src / lxc / attach.c
index df9dda02eb45755ea07eec0951c8fa67bd1d67cf..eb5ae74600911f1f89fe63dd964ad54266e6fd32 100644 (file)
@@ -1521,7 +1521,7 @@ int lxc_attach(const char *name, const char *lxcpath,
 
        /* The rest is in the hands of the initial and the attached process. */
        lxc_proc_put_context_info(init_ctx);
-       _exit(0);
+       _exit(EXIT_SUCCESS);
 }
 
 int lxc_attach_run_command(void *payload)