Skip to content

Commit e7b42bd

Browse files
authored
Fix conditional check in uninstall.sh using assignment instead of comparison (#1872)
1 parent 13bf21b commit e7b42bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

uninstall.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ if [[ "${myANSIBLE_DISTRIBUTIONS[@]}" =~ "${myCURRENT_DISTRIBUTION}" ]];
6868
fi
6969

7070
# Check type of sudo access
71-
if myANSIBLE_TAG="Debian";
71+
if [ "$myANSIBLE_TAG" = "Debian" ];
7272
# Debian 13 - sudo seems to apply stricter settings, we now ask for the become password
7373
then
7474
myANSIBLE_BECOME_OPTION="--become --ask-become-pass"

0 commit comments

Comments
 (0)