Skip to content

Commit 44ca3ea

Browse files
committed
Fix string compare in pg_araman bash tests.
1 parent c2f6219 commit 44ca3ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/pg_arman/sql/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ EOF
9393
function get_time_last_backup()
9494
{
9595
set name_os = `uname`
96-
if [ "$name_os" -n "SunOS" ]
96+
if [ "$name_os" == "SunOS" ]
9797
then
9898
pg_arman -B ${BACKUP_PATH} show | gtail -n +4 | head -n 1 | awk '{print($1, $2)}'
9999
else

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy