mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-02-07 14:18:17 +02:00
Fix tests on Solaris.
This commit is contained in:
parent
f01d5755aa
commit
5ee1aafb89
@ -92,5 +92,11 @@ EOF
|
||||
|
||||
function get_time_last_backup()
|
||||
{
|
||||
pg_arman -B ${BACKUP_PATH} show | tail -n +4 | head -n 1 | awk '{print($1, $2)}'
|
||||
name_os=`uname`
|
||||
if [ "$name_os" == "SunOS" ]
|
||||
then
|
||||
pg_arman -B ${BACKUP_PATH} show | gtail -n +4 | head -n 1 | awk '{print($1, $2)}'
|
||||
else
|
||||
pg_arman -B ${BACKUP_PATH} show | tail -n +4 | head -n 1 | awk '{print($1, $2)}'
|
||||
fi
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user