Skip to content

Commit 93bd46b

Browse files
Fatal error if utils.sh is missing
Fatal error if utils.sh is missing
1 parent 67ece8a commit 93bd46b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

check_glusterfs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ REVISION="1.0.3"
3737
if [ -f $PROGPATH/utils.sh ]
3838
then
3939
. $PROGPATH/utils.sh
40+
else
41+
echo "Fatal error, missing $PROGPATH/utils.sh"
42+
exit 1
4043
fi
4144

4245
# parse command line

0 commit comments

Comments
 (0)