Skip to content

Commit 5c6c71d

Browse files
committed
add missing stderr redirect
fixes #496
1 parent 06f9930 commit 5c6c71d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

share/github-backup-utils/ghe-backup-mysql-audit-log

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ setup(){
4141
# months in MySQL. For each month: number of entries, minum ID, maximum ID
4242
fetch_current_meta(){
4343
local meta
44-
if ! meta=$(ghe-ssh "$host" "sudo ghe-export-audit-logs months" | grep -v NULL 2>&3); then
44+
if ! meta=$(ghe-ssh "$host" "sudo ghe-export-audit-logs months" 2>&3 | grep -v NULL 2>&3); then
4545
ghe_verbose "Error: failed to retrieve audit log metadata"
4646
exit 1
4747
fi

0 commit comments

Comments
 (0)