summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2009-10-01 03:46:05 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2009-10-01 03:46:05 (GMT)
commitd495a52fdd306391bd01f2a22abda26666c6c705 (patch)
tree8d7752eee5931988a077d3a7d3df184333180ea0 /bin
parentd98c4cb0e5dd531db3f378bddd86b1d3a9011add (diff)
downloadhdf5-d495a52fdd306391bd01f2a22abda26666c6c705.zip
hdf5-d495a52fdd306391bd01f2a22abda26666c6c705.tar.gz
hdf5-d495a52fdd306391bd01f2a22abda26666c6c705.tar.bz2
[svn-r17564] Fixed a syntax error that generates a file named 0.
Tested: Jam as it is simple shell script change.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/chkmanifest4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/chkmanifest b/bin/chkmanifest
index 4f70a6d..70c38a9 100755
--- a/bin/chkmanifest
+++ b/bin/chkmanifest
@@ -171,8 +171,8 @@ EOF
exit 1
fi
-if [ $errcode > 0 ]; then
- exit $errcode
+if [ $errcode -ne 0 ]; then
+ exit 1
fi
test "$verbose" && echo " The MANIFEST is up to date." 1>&2