Skip to content

Commit 7bbea6d

Browse files
committed
Merge branch 'mathieuchateau', customink#6
2 parents 0770628 + 93bd46b commit 7bbea6d

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

check_glusterfs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,15 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin
3232

3333
PROGNAME=$(basename -- $0)
3434
PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'`
35-
REVISION="1.0.1"
36-
37-
. $PROGPATH/utils.sh
35+
REVISION="1.0.3"
36+
37+
if [ -f $PROGPATH/utils.sh ]
38+
then
39+
. $PROGPATH/utils.sh
40+
else
41+
echo "Fatal error, missing $PROGPATH/utils.sh"
42+
exit 1
43+
fi
3844

3945
# parse command line
4046
usage () {

0 commit comments

Comments
 (0)