toolkit/func/core/pkg_postgresql/21-drop-user.sh

5 lines
122 B
Bash
Raw Normal View History

2022-06-20 23:49:14 +00:00
#!/bin/bash
r_log "postgresql" "Dropping user"
su - postgres -c 'dropuser testuser' > /dev/null 2>&1
r_checkExitStatus $?