From 0aecf2b0e287844d657beb2ac5a3103ed5e62455 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Mon, 12 Jul 2021 18:07:27 +0200 Subject: flip.c: Print error if execvp fails --- etc/flip.c | 1 + 1 file changed, 1 insertion(+) (limited to 'etc') diff --git a/etc/flip.c b/etc/flip.c index dcd6bc0..63bacdf 100644 --- a/etc/flip.c +++ b/etc/flip.c @@ -28,4 +28,5 @@ main(int argc, char *argv[]) } execvp(argv[1], argv+1); + err(1, "%s", argv[1]); } -- cgit v1.2.3