summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/interfaces/ethernet/node.tag/smp_affinity/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/ethernet/node.tag/smp_affinity/node.def b/templates/interfaces/ethernet/node.tag/smp_affinity/node.def
index f62ef246..68f4b6f9 100644
--- a/templates/interfaces/ethernet/node.tag/smp_affinity/node.def
+++ b/templates/interfaces/ethernet/node.tag/smp_affinity/node.def
@@ -29,7 +29,7 @@ syntax:expression: exec " \
fi"
update:
- if [ $(cat /sys/devices/system/cpu/present) -eq 0 ]; then
+ if [ $(cat /sys/devices/system/cpu/present) = 0 ]; then
exit 0
fi
if [ "$VAR(@)" = "auto" ]; then