Ensure early exit upon pipeline failure
authorSiraaj Khandkar <siraaj@khandkar.net>
Fri, 22 Nov 2019 22:00:19 +0000 (17:00 -0500)
committerSiraaj Khandkar <siraaj@khandkar.net>
Fri, 22 Nov 2019 22:00:19 +0000 (17:00 -0500)
home/bin/mpplay

index 76223a3..1c254af 100755 (executable)
@@ -1,6 +1,7 @@
-#! /bin/sh
+#! /bin/bash
 
 set -e
+set -o pipefail
 
 LINES=60
 
This page took 0.025377 seconds and 4 git commands to generate.