[Libreoffice-commits] core.git: shell/source
Phillip Sz
phillip.szelat at gmail.com
Tue Mar 24 23:51:18 PDT 2015
shell/source/unix/misc/gnome-open-url.sh | 2 --
shell/source/unix/misc/kde-open-url.sh | 2 --
shell/source/unix/misc/kde4-open-url.sh | 1 -
shell/source/unix/misc/senddoc.sh | 2 --
shell/source/unix/misc/tde-open-url.sh | 2 --
5 files changed, 9 deletions(-)
New commits:
commit 3f6bfb4c0d6814c38035e4e1d0c4d5321dd6a5a7
Author: Phillip Sz <phillip.szelat at gmail.com>
Date: Mon Mar 16 20:49:05 2015 +0100
remove exit 0 at the end of a shell script
Change-Id: I6f9b6aa7abba6eadf4db93506bdd9a822afdf2fb
Reviewed-on: https://gerrit.libreoffice.org/14884
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
diff --git a/shell/source/unix/misc/gnome-open-url.sh b/shell/source/unix/misc/gnome-open-url.sh
index 0bcd7b63..bffe6f2 100755
--- a/shell/source/unix/misc/gnome-open-url.sh
+++ b/shell/source/unix/misc/gnome-open-url.sh
@@ -2,5 +2,3 @@
# use xdg-open or gnome-open if available, falling back to our own open-url
xdg-open "$1" 2>/dev/null || gnome-open "$1" 2>/dev/null || `dirname "$0"`/open-url "$1" 2>/dev/null
-
-exit 0
diff --git a/shell/source/unix/misc/kde-open-url.sh b/shell/source/unix/misc/kde-open-url.sh
index 43ab738..b0eac27 100755
--- a/shell/source/unix/misc/kde-open-url.sh
+++ b/shell/source/unix/misc/kde-open-url.sh
@@ -23,5 +23,3 @@ if echo $1 | grep '^mailto:' > /dev/null; then
else
kfmclient openURL "$1" &
fi
-
-exit 0
diff --git a/shell/source/unix/misc/kde4-open-url.sh b/shell/source/unix/misc/kde4-open-url.sh
index e5b8125..c6e8b17 100755
--- a/shell/source/unix/misc/kde4-open-url.sh
+++ b/shell/source/unix/misc/kde4-open-url.sh
@@ -19,4 +19,3 @@
# use kde-open or xdg-open if available, falling back to our own open-url
kde-open "$1" 2>/dev/null || xdg-open "$1" 2>/dev/null || `dirname "$0"`/open-url "$1" 2>/dev/null
-exit 0
diff --git a/shell/source/unix/misc/senddoc.sh b/shell/source/unix/misc/senddoc.sh
index cb287e6..a642546 100755
--- a/shell/source/unix/misc/senddoc.sh
+++ b/shell/source/unix/misc/senddoc.sh
@@ -438,5 +438,3 @@ case `basename "$MAILER" | sed 's/-.*$//'` in
${MAILER} "${MAILTO}" &
;;
esac
-
-exit 0
diff --git a/shell/source/unix/misc/tde-open-url.sh b/shell/source/unix/misc/tde-open-url.sh
index 43ab738..b0eac27 100755
--- a/shell/source/unix/misc/tde-open-url.sh
+++ b/shell/source/unix/misc/tde-open-url.sh
@@ -23,5 +23,3 @@ if echo $1 | grep '^mailto:' > /dev/null; then
else
kfmclient openURL "$1" &
fi
-
-exit 0
More information about the Libreoffice-commits
mailing list