Change test -e to test -f in docs, for portability.
authorBruce Momjian
Thu, 1 Apr 2010 13:52:56 +0000 (13:52 +0000)
committerBruce Momjian
Thu, 1 Apr 2010 13:52:56 +0000 (13:52 +0000)
doc/src/sgml/backup.sgml

index 019fb81c1a07c3824e1cb0e45cb8ccb2003e727d..4180306a7cef03fcea93138e16bcd1c16684b633 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
 
  Backup and Restore
@@ -611,7 +611,7 @@ cp -i pg_xlog/00000001000000A900000065 /mnt/server/archivedir/00000001000000A900
     add a command to test for the existence of the archive file.  For
     example, something like:
 
-archive_command = 'test ! -e .../%f && cp %p .../%f'
+archive_command = 'test ! -f .../%f && cp %p .../%f'
 
     works correctly on most Unix variants.