Skip to content

Commit 9a82607

Browse files
authored
Merge pull request #9 from petricm/failure
Check return code cvmfs_config at the end of installation
2 parents e4dd2a2 + 53c965c commit 9a82607

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

setup-cvmfs.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ fi
3535

3636
echo "Run cvmfs_config setup"
3737
sudo cvmfs_config setup
38+
retCongif=$?
39+
if [ $retCongif -ne 0 ]; then
40+
echo "!!! github-action-cvmfs FAILED !!!"
41+
echo "cvmfs_config setup exited with ${retCongif}"
42+
exit $retCongif
43+
fi
3844

3945

4046
if [ "$(uname)" == "Darwin" ]; then

0 commit comments

Comments
 (0)