mirror of
https://github.com/telekom-security/tpotce.git
synced 2026-03-15 04:43:05 +00:00
Fix conditional check in uninstall.sh using assignment instead of comparison (#1872)
This commit is contained in:
parent
13bf21bb82
commit
e7b42bd91d
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ if [[ "${myANSIBLE_DISTRIBUTIONS[@]}" =~ "${myCURRENT_DISTRIBUTION}" ]];
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check type of sudo access
|
# Check type of sudo access
|
||||||
if myANSIBLE_TAG="Debian";
|
if [ "$myANSIBLE_TAG" = "Debian" ];
|
||||||
# Debian 13 - sudo seems to apply stricter settings, we now ask for the become password
|
# Debian 13 - sudo seems to apply stricter settings, we now ask for the become password
|
||||||
then
|
then
|
||||||
myANSIBLE_BECOME_OPTION="--become --ask-become-pass"
|
myANSIBLE_BECOME_OPTION="--become --ask-become-pass"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue