Skip to content

Commit

Permalink
Fail of any of the processes in the pipeline fail
Browse files Browse the repository at this point in the history
  • Loading branch information
egli committed Apr 30, 2024
1 parent 48aa55e commit 49ccdd8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dtbook2sbsform.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

# Copyright (C) 2010 Swiss Library for the Blind, Visually Impaired and Print Disabled
#
Expand All @@ -18,6 +18,9 @@
# License along with this program. If not, see
# <http://www.gnu.org/licenses/>.

# exit if any of the processes fail
set -eo pipefail

if [ $# -lt 1 ] ; then
PRG=`basename $0`
echo "Usage: $PRG -s:dtbook.xml PARAMS"
Expand Down

0 comments on commit 49ccdd8

Please sign in to comment.