1
0
Эх сурвалжийг харах

Fix a bug while restoring STDERR file descriptor (Debian patch 11_fix_stderr_fd)

Cyprien Devillez 6 жил өмнө
parent
commit
1e36f050f4
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      autopostgresqlbackup

+ 1 - 1
autopostgresqlbackup

@@ -547,7 +547,7 @@ fi
 
 #Clean up IO redirection
 exec 1>&6 6>&-      # Restore stdout and close file descriptor #6.
-exec 1>&7 7>&-      # Restore stdout and close file descriptor #7.
+exec 2>&7 7>&-      # Restore stdout and close file descriptor #7.
 
 if [ "$MAILCONTENT" = "files" ]
 then