summaryrefslogtreecommitdiffstats
path: root/src/net-profiles
diff options
context:
space:
mode:
Diffstat (limited to 'src/net-profiles')
-rw-r--r--src/net-profiles2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net-profiles b/src/net-profiles
index 3827c54..6ab179a 100644
--- a/src/net-profiles
+++ b/src/net-profiles
@@ -10,7 +10,7 @@ case "$1" in
# Ensure any device renaming has occurred as intended
for daemon in "${DAEMONS[@]}"; do
- if [ "$daemon" = "${daemon#!}" -a "$daemon" = "net-rename" ]; then
+ if [[ "$daemon" = "${daemon#!}" && "$daemon" = "net-rename" ]]; then
if ck_daemon net-rename; then
/etc/rc.d/net-rename start
fi