From 9d3d018e1099cad5711da31daebc9195fa3395d2 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Mon, 28 Sep 2015 00:36:11 +0200 Subject: [PATCH] meh --- scripts/remove | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/remove b/scripts/remove index 148b4f1..3a7c757 100644 --- a/scripts/remove +++ b/scripts/remove @@ -6,7 +6,7 @@ sudo rm -rf $final_path for i in $(psql -l | grep "\" | awk '{print $1}') do - su postgres -c "dropdb $i" + sudo "su postgres -c \"dropdb $i\"" done su postgres -c "dropuser noalyss"