This commit is contained in:
MattMontgomeryKochava 2022-02-11 18:00:19 -06:00
commit eb9305ed80

View file

@ -368,7 +368,7 @@ def user_delete(cursor, user, host, host_all, check_mode):
hostnames = [host]
for hostname in hostnames:
cursor.execute("DROP USER IF EXIST %s@%s", (user, hostname))
cursor.execute("DROP USER IF EXISTS %s@%s", (user, hostname))
return True