[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-deployment] branch master updated: Do not brutally o

From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: Do not brutally override response file
Date: Thu, 13 Jun 2019 22:32:38 +0200

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 4749a11  Do not brutally override response file
4749a11 is described below

commit 4749a118d9e4720fadd2f33e80ccad772c60ace3
Author: Marcello Stanisci <address@hidden>
AuthorDate: Thu Jun 13 22:32:32 2019 +0200

    Do not brutally override response file
 bin/taler-deployment-sign | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/bin/taler-deployment-sign b/bin/taler-deployment-sign
index 0f86943..c5fb3b7 100755
--- a/bin/taler-deployment-sign
+++ b/bin/taler-deployment-sign
@@ -19,10 +19,12 @@ if ! test -f $(taler-config -s paths -o 
taler_deployment_shared -f)/hier.lock; t
   exit 1
 WIRE_RESPONSE=$(taler-config -s account-1 -o wire_response -f)
-# If chmod is not possible (= the owner is the other color), then
-# the permissions are already right on it, hence we can tolerate to
-# not set those.
-chmod 770 $WIRE_RESPONSE || true
+if test -e "$WIRE_RESPONSE"; then
+  echo "Will not override that wire response file ($WIRE_RESPONSE); exiting."
+  exit 0
+chmod 770 $WIRE_RESPONSE

To stop receiving notification emails like this one, please contact

reply via email to

[Prev in Thread] Current Thread [Next in Thread]