Oops. Corrected error properly, should check before I commit.

This commit is contained in:
Ward Fisher 2017-12-18 14:57:25 -07:00
parent 5dfef32225
commit 98dd736a40

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# This shell script tests ncdump for netcdf-4
# Ed Hartnett, Dennis Heimbigner, Ward Fisher
@ -7,7 +7,7 @@ if test "x$srcdir" = x ; then srcdir=`pwd`; fi
set -e
ERR {
function ERR {
RES=$?
if [ $RES -ne 0 ]; then
echo "Error found: $RES"