Don't write k5start banner to file list
k5start prints: "Kerberos initialization for service/reprepro@OPENSTACK.ORG" This then gets redirected into the list of files to remove on the next run - which is an error, since that's not a filename. Put the redirection inside of a bash command so that only the data gets redirected. Change-Id: Icae10763b4bce78c7b674715826547c228980dd6
This commit is contained in:
parent
7ec1b3d7e3
commit
bb953ce7fc
@ -31,7 +31,7 @@ if [ -f $UNREF_FILE ] ; then
|
||||
fi
|
||||
|
||||
echo "Saving list of newly unreferenced files for next time"
|
||||
$REPREPRO dumpunreferenced > $UNREF_FILE
|
||||
k5start -t -f /etc/reprepro.keytab service/reprepro -- bash -c "reprepro --confdir $REPREPRO_CONFIG dumpunreferenced > $UNREF_FILE"
|
||||
|
||||
echo "Checking state of mirror"
|
||||
$REPREPRO checkpool fast
|
||||
|
Loading…
Reference in New Issue
Block a user