summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/loopback/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/loopback/node.def b/templates/interfaces/loopback/node.def
index b5235a0..e57f4b1 100644
--- a/templates/interfaces/loopback/node.def
+++ b/templates/interfaces/loopback/node.def
@@ -3,7 +3,7 @@ type: txt
help: Set loopback interface
allowed: echo "lo"
syntax:expression: exec "\
- if [ !-d /sys/class/net/$VAR(@) ]; then \
+ if [ ! -d /sys/class/net/$VAR(@) ]; then \
echo \"loopback interface $VAR(@) does not exist\"; \
exit 1; \
elif [ $(cat /sys/class/net/$VAR(@)/type) -ne 772 ]; then \