We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b6b2ef commit a222748Copy full SHA for a222748
extras/scripts/grafton-sanity-check.sh
@@ -1,4 +1,4 @@
1
-#!/usr/bin/bash
+#!/usr/bin/env bash
2
3
# This script was initially written to solve the bug:
4
# https://bugzilla.redhat.com/show_bug.cgi?id=1405447
@@ -59,7 +59,7 @@ EOF
59
60
# Copy all the files to MASTER and compare
61
match=0
62
- if ifconfig | egrep -q $MASTERIP; then
+ if ip a l | egrep -q $MASTERIP; then
63
# Give some time for the operation to finish on other nodes
64
sleep 2
65
for node in `echo $1 | tr ',' ' '`; do
0 commit comments