defaultenv: ps1-policy: remove stray semicolons

The semicolon next to $RED is inside the string, so it makes it into the
prompt. For the other one, it doesn't matter, so remove those too for
uniformity.

Signed-off-by: Ahmad Fatoum <[email protected]>
---
 defaultenv/defaultenv-2-security-policy/bin/ps1-policy | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/defaultenv/defaultenv-2-security-policy/bin/ps1-policy 
b/defaultenv/defaultenv-2-security-policy/bin/ps1-policy
index af121bbbaeed..5c8b26415d77 100755
--- a/defaultenv/defaultenv-2-security-policy/bin/ps1-policy
+++ b/defaultenv/defaultenv-2-security-policy/bin/ps1-policy
@@ -4,13 +4,13 @@ if [ -n "$security.policy" ]; then
        elif [ "$security.policy" = "factory" ]; then
                PS1_policy_color="$PINK"
        elif [ "$security.policy" = "lockdown" ]; then
-               PS1_policy_color="$RED;"
+               PS1_policy_color="$RED"
        elif [ "$security.policy" = "tamper" ]; then
-               PS1_policy_color="$RED_INV";
+               PS1_policy_color="$RED_INV"
        elif [ "$security.policy" = "return" ]; then
-               PS1_policy_color="$PINK_INV";
+               PS1_policy_color="$PINK_INV"
        elif [[ "$security.policy" = "debug*" ]]; then
-               PS1_policy_color="$CYAN";
+               PS1_policy_color="$CYAN"
         else
                 PS1_policy_color="$NC"
        fi
-- 
2.39.5


Reply via email to