summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorPhillip Sz <phillip.szelat@gmail.com>2015-03-16 20:49:05 +0100
committerNoel Grandin <noelgrandin@gmail.com>2015-03-25 06:50:53 +0000
commit3f6bfb4c0d6814c38035e4e1d0c4d5321dd6a5a7 (patch)
tree132218c9165d2e9e175cccb11d3b58c85775fcd1 /shell
parente03654bbd6d672d5eacc0a915c4970c3fc4d818a (diff)
remove exit 0 at the end of a shell script
Change-Id: I6f9b6aa7abba6eadf4db93506bdd9a822afdf2fb Reviewed-on: https://gerrit.libreoffice.org/14884 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'shell')
-rwxr-xr-xshell/source/unix/misc/gnome-open-url.sh2
-rwxr-xr-xshell/source/unix/misc/kde-open-url.sh2
-rwxr-xr-xshell/source/unix/misc/kde4-open-url.sh1
-rwxr-xr-xshell/source/unix/misc/senddoc.sh2
-rwxr-xr-xshell/source/unix/misc/tde-open-url.sh2
5 files changed, 0 insertions, 9 deletions
diff --git a/shell/source/unix/misc/gnome-open-url.sh b/shell/source/unix/misc/gnome-open-url.sh
index 0bcd7b63fbed..bffe6f27a783 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 43ab738cf343..b0eac27963df 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 e5b8125bacfe..c6e8b17453e8 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 cb287e679868..a6425462c70d 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 43ab738cf343..b0eac27963df 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