We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae0bf59 commit cac33d7Copy full SHA for cac33d7
application/restore.sh
@@ -26,7 +26,7 @@ if [ -z "${result}" ]; then
26
else
27
message="finding current owner of DB ${DB_NAME}"
28
echo "${MYNAME}: ${message}"
29
- db_owner=$(psql --host=${DB_HOST} --username=${DB_ROOTUSER} --command='\list' | grep ${DB_NAME} | cut -d '|' -f 2 | sed -e 's/ *//')
+ db_owner=$(psql --host=${DB_HOST} --username=${DB_ROOTUSER} --command='\list' | grep ${DB_NAME} | cut -d '|' -f 2 | sed -e 's/ *//g')
30
message="Database owner is ${db_owner}"
31
echo "${MYNAME}: INFO: ${message}"
32
0 commit comments