From 53c965cced3f2d5d9bee5d21ebb3024f6caadde2 Mon Sep 17 00:00:00 2001 From: Marko Petric Date: Fri, 18 Dec 2020 16:51:51 +0100 Subject: [PATCH] Check return code cvmfs_config at the end of installation --- setup-cvmfs.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/setup-cvmfs.sh b/setup-cvmfs.sh index ebe2bb8..380b60b 100755 --- a/setup-cvmfs.sh +++ b/setup-cvmfs.sh @@ -35,6 +35,12 @@ fi echo "Run cvmfs_config setup" sudo cvmfs_config setup +retCongif=$? +if [ $retCongif -ne 0 ]; then + echo "!!! github-action-cvmfs FAILED !!!" + echo "cvmfs_config setup exited with ${retCongif}" + exit $retCongif +fi if [ "$(uname)" == "Darwin" ]; then