diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2012-07-08 11:42:54 +0200 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2012-07-08 11:42:54 +0200 |
commit | 5511dc38c484d93fda0aaf57e30e6b82f8174918 (patch) | |
tree | 0ea942d132d85a85357b2094c81792a5b2a8b377 /src/connections | |
parent | 3d9c37274e5b9bb620a7fd1ea24071aeed06deee (diff) | |
download | netctl-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')
-rw-r--r-- | src/connections/ethernet | 2 |
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 |