[X2Go-Commits] x2gobroker.git - build-main (branch) updated: 0.0.0.5-32-gcacfe49

X2Go dev team git-admin at x2go.org
Sun May 19 13:04:55 CEST 2013


The branch, build-main has been updated
       via  cacfe491f405d6db68079b6166d729f4c502d0dd (commit)
      from  8b21bebbe426c5fc64b692933072e99724f479b2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 lib/x2gobroker-agent.pl |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

The diff of changes is:
diff --git a/lib/x2gobroker-agent.pl b/lib/x2gobroker-agent.pl
index f1e3bad..9b20e40 100755
--- a/lib/x2gobroker-agent.pl
+++ b/lib/x2gobroker-agent.pl
@@ -94,8 +94,7 @@ sub DelAuthKey
 		my $authorized_keys = `su - $uid -c \"cat $authkeyfile\"`;
 		if ( ! ( $authorized_keys =~ m/$pubkey/ ) )
 		{
-			system("su - $uid -c \"cat $authkeyfile.tmp | grep -v '$pubkey' > $authkeyfile.tmp\"");
-			system("su - $uid -c \"mv $authkeyfile.tmp $authkeyfile\"");
+			system("su - $uid -c \"sed -e s/'$pubkey'// -i $authkeyfile\"");
 		}
 	}
 }


hooks/post-receive
-- 
x2gobroker.git (HTTP(S) Session broker for X2Go)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2gobroker.git" (HTTP(S) Session broker for X2Go).




More information about the x2go-commits mailing list