[PATCH util-modular 01/10] release.sh: remove unneeded trailing ||

Emil Velikov emil.l.velikov at gmail.com
Fri Jul 1 14:44:42 UTC 2016


From: Emil Velikov <emil.velikov at collabora.com>

A copy/pasta mistake from the rewrite in 2011.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 release.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/release.sh b/release.sh
index ef384de..07ab473 100755
--- a/release.sh
+++ b/release.sh
@@ -581,7 +581,7 @@ process_module() {
     # srv_path="~/public_html$srv_path"
 
     # Check that the server path actually does exist
-    ssh $USER_NAME$hostname ls $srv_path >/dev/null 2>&1 ||
+    ssh $USER_NAME$hostname ls $srv_path >/dev/null 2>&1
     if [ $? -ne 0 ]; then
 	echo "Error: the path \"$srv_path\" on the web server does not exist."
 	cd $top_src
-- 
2.8.2



More information about the xorg-devel mailing list