summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIndrajit Raychaudhuri <irc@indrajit.com>2023-12-29 13:40:25 -0600
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-12-29 20:04:15 +0000
commitd256c7af0aa7b72969745a05e7c57c50659a453c (patch)
tree7b8e8899fa8f28d89dfa7bd74f772d7569965747
parent93427954f3abbce755847e61d0dd6471dce1bdd9 (diff)
downloadvyos-1x-d256c7af0aa7b72969745a05e7c57c50659a453c.tar.gz
vyos-1x-d256c7af0aa7b72969745a05e7c57c50659a453c.zip
tacacs: T141: Wrap string in double quotes to allow expansion
(cherry picked from commit a95ee3fd38f3c1d54ea359088d0eb1a4d4582b6b)
-rw-r--r--debian/vyos-1x.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/vyos-1x.postinst b/debian/vyos-1x.postinst
index cd88cf60c..f7ebec8bc 100644
--- a/debian/vyos-1x.postinst
+++ b/debian/vyos-1x.postinst
@@ -73,7 +73,7 @@ if ! grep -q '^tacacs' /etc/passwd; then
adduser --quiet tacacs${level} frr
fi
level=$(( level+1 ))
- done 2>&1 | grep -v 'User tacacs${level} already exists'
+ done 2>&1 | grep -v "User tacacs${level} already exists"
fi
# Add RADIUS operator user for RADIUS authenticated users to map to