summaryrefslogtreecommitdiffstats
path: root/src/connections/ethernet
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2012-07-08 11:42:54 +0200
committerJouke Witteveen <j.witteveen@gmail.com>2012-07-08 11:42:54 +0200
commit5511dc38c484d93fda0aaf57e30e6b82f8174918 (patch)
tree0ea942d132d85a85357b2094c81792a5b2a8b377 /src/connections/ethernet
parent3d9c37274e5b9bb620a7fd1ea24071aeed06deee (diff)
downloadnetctl-5511dc38c484d93fda0aaf57e30e6b82f8174918.tar.gz
netctl-5511dc38c484d93fda0aaf57e30e6b82f8174918.tar.xz
Use grep instead of fgrep (FS#30598)
Direct invocation as fgrep is deprecated.
Diffstat (limited to 'src/connections/ethernet')
-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