[X2Go-Commits] [buildscripts] 01/01: bin/rpmsign-unattended: handle early EOFs more gracefully.

git-admin at x2go.org git-admin at x2go.org
Fri Sep 8 07:57:20 CEST 2017


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

x2go pushed a commit to branch master
in repository buildscripts.

commit 9a0509aaa391437bfe81a8dcc4a47be6bd401785
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Fri Sep 8 07:57:14 2017 +0200

    bin/rpmsign-unattended: handle early EOFs more gracefully.
---
 bin/rpmsign-unattended | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/rpmsign-unattended b/bin/rpmsign-unattended
index 9846457..30fd934 100755
--- a/bin/rpmsign-unattended
+++ b/bin/rpmsign-unattended
@@ -2,6 +2,7 @@
 
 spawn rpmsign {*}$argv
 expect {
-  -ex "Enter pass phrase: " { send -- "\r"; }
+  -ex "Enter pass phrase: " { send -- "\r" }
+  eof { exit }
 }
 expect eof

--
Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git


More information about the x2go-commits mailing list