mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-21 08:07:59 +01:00
9 lines
112 B
Bash
9 lines
112 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
psql -h "localhost" -U "postgres" -c 'select 1'
|
||
|
ret_code=$?
|
||
|
|
||
|
if [ $ret_code != 0 ]; then
|
||
|
exit 1
|
||
|
fi
|