summaryrefslogtreecommitdiffstats
path: root/src/connections
diff options
context:
space:
mode:
Diffstat (limited to 'src/connections')
-rw-r--r--src/connections/ethernet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connections/ethernet b/src/connections/ethernet
index e9ff67f..0a70f5d 100644
--- a/src/connections/ethernet
+++ b/src/connections/ethernet
@@ -18,7 +18,7 @@ ethernet_up() {
SYSCTL_INTERFACE="${INTERFACE/.//}"
if [[ ! -e "/sys/class/net/$INTERFACE" ]]; then
- if ! echo "$INTERFACE" | fgrep -q ":"; then
+ if ! echo "$INTERFACE" | grep -F -q ":"; then
report_iproute "Interface $INTERFACE does not exist"
fi
fi