Univention Bugzilla – Attachment 10058 Details for
Bug 49399
Add Diagnostic check for tdb errors in sam.ldb.d/*
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
redirecting from stdout to stderror
0001-Bug-49399-redirect-error-message-from-tdbbackup-to-s.patch (text/plain), 972 bytes, created by
Fathan Vidjaja
on 2019-06-11 14:51:01 CEST
(
hide
)
Description:
redirecting from stdout to stderror
Filename:
MIME Type:
Creator:
Fathan Vidjaja
Created:
2019-06-11 14:51:01 CEST
Size:
972 bytes
patch
obsolete
>From 533e535d36f5df9a0870aeebfcc83deb694b3260 Mon Sep 17 00:00:00 2001 >From: Fathan Vidjaja <vidjaja@univention.de> >Date: Thu, 6 Jun 2019 14:54:56 +0200 >Subject: [PATCH] Bug #49399: redirect error message from tdbbackup to stderr > so cron will email error > >--- > services/univention-samba4/sbin/univention-samba4-backup | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/services/univention-samba4/sbin/univention-samba4-backup b/services/univention-samba4/sbin/univention-samba4-backup >index 25747a3ca2..4ae652a5ab 100755 >--- a/services/univention-samba4/sbin/univention-samba4-backup >+++ b/services/univention-samba4/sbin/univention-samba4-backup >@@ -137,7 +137,7 @@ for d in $DIRS; do > tdbbackup $file > Status=$? > if [ $Status -ne 0 ]; then >- echo "Error while backing up $file with tdbbackup - status $Status" >+ >&2 echo "Error while backing up $file with tdbbackup - status $Status" > exit 1 > fi > fi >-- >2.17.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 49399
: 10058 |
10081