From 906e2da95537d20a52d57ae37bb95cf856a484fc Mon Sep 17 00:00:00 2001 From: Gurkirat Singh Date: Fri, 7 Oct 2022 19:46:01 +0530 Subject: [PATCH] fix (plugin): use grep -E instead of egrep in postgres.plugin.bash --- plugins/available/postgres.plugin.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/available/postgres.plugin.bash b/plugins/available/postgres.plugin.bash index 8f239985..ecbb1f30 100644 --- a/plugins/available/postgres.plugin.bash +++ b/plugins/available/postgres.plugin.bash @@ -50,7 +50,7 @@ function postgres_status { function is_postgres_running { - $POSTGRES_BIN/pg_ctl -D $PGDATA status | egrep -o "no server running" + $POSTGRES_BIN/pg_ctl -D $PGDATA status | grep -E -o "no server running" }