]> The Tcpdump Group git mirrors - tcpslice/commitdiff
mkdep: Exit with a non-zero status if a command fails
authorFrancois-Xavier Le Bail <[email protected]>
Tue, 9 Apr 2024 07:46:50 +0000 (09:46 +0200)
committerfxlb <[email protected]>
Tue, 9 Apr 2024 11:49:15 +0000 (11:49 +0000)
This could help detect errors such as in the previous commit.

mkdep

diff --git a/mkdep b/mkdep
index 36cc57f5f9b8c8e34047555756efeaca3a1b5c66..dc0a11ea927331ee984cc9304f2f8903c171f54e 100755 (executable)
--- a/mkdep
+++ b/mkdep
@@ -1,4 +1,4 @@
-#!/bin/sh -
+#!/bin/sh -e
 #
 # Copyright (c) 1994, 1996
 #      The Regents of the University of California.  All rights reserved.