]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - support/test-container.c
Avoid fall-through in test-container if execlp fails.
[thirdparty/glibc.git] / support / test-container.c
index a24b24c03bbbe774f486678a4a301e2a3571c8bf..ed911e33f90ce306ef12ba14ad1c73e25542c0a2 100644 (file)
@@ -361,6 +361,7 @@ recursive_remove (char *path)
   case 0:
     /* Child.  */
     execlp ("rm", "rm", "-rf", path, NULL);
+    FAIL_EXIT1 ("exec rm: %m");
   default:
     /* Parent.  */
     waitpid (child, &status, 0);