From 6db5734f494fd1aef585631cc19c8c77b77d10b4 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Mon, 28 Sep 2015 00:39:32 +0200 Subject: [PATCH] >.< --- scripts/remove | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/remove b/scripts/remove index 6d32b18..f3daff1 100644 --- a/scripts/remove +++ b/scripts/remove @@ -4,7 +4,7 @@ final_path=/var/www/noalyss sudo rm -rf $final_path -for i in $(sudo "su -c 'psql -l | grep \"\\" | awk \'{print $1}\''") +for i in $(sudo "su postgres -c 'psql -l | grep \"\\" | awk \'{print $1}\''") do sudo "su postgres -c \"dropdb $i\"" done