aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-12 18:07:27 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-12 18:07:27 +0200
commit0aecf2b0e287844d657beb2ac5a3103ed5e62455 (patch)
treea528a04c6631749a02b53a997220b3ecc19a3aaa /etc
parent49ddbef55a9e5d561222b36ed5866ff9c722a44a (diff)
downloadxutil-0aecf2b0e287844d657beb2ac5a3103ed5e62455.tar.gz
flip.c: Print error if execvp fails
Diffstat (limited to 'etc')
-rw-r--r--etc/flip.c1
1 files changed, 1 insertions, 0 deletions
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]);
}