Skip to content

Commit 399ea9e

Browse files
committed
Change test -e to test -f in docs, for portability.
1 parent 1fbb06d commit 399ea9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/backup.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.148 2010/04/01 00:31:00 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.149 2010/04/01 13:52:56 momjian Exp $ -->
22

33
<chapter id="backup">
44
<title>Backup and Restore</title>
@@ -611,7 +611,7 @@ cp -i pg_xlog/00000001000000A900000065 /mnt/server/archivedir/00000001000000A900
611611
add a command to test for the existence of the archive file. For
612612
example, something like:
613613
<programlisting>
614-
archive_command = 'test ! -e .../%f &amp;&amp; cp %p .../%f'
614+
archive_command = 'test ! -f .../%f &amp;&amp; cp %p .../%f'
615615
</programlisting>
616616
works correctly on most Unix variants.
617617
</para>

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