diff options
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network b/src/network index 91dc49c..639de1b 100644 --- a/src/network +++ b/src/network @@ -331,7 +331,7 @@ set_iface() { is_interface() { local INTERFACE="$1" if [[ ! -e "/sys/class/net/$INTERFACE" ]]; then - if ! echo "$INTERFACE" | fgrep -q ":"; then + if ! echo "$INTERFACE" | grep -F -q ":"; then return 1 fi fi |