diff options
author | David Runge <dave@sleepmap.de> | 2016-06-04 00:28:23 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2016-06-04 00:28:23 +0200 |
commit | 728b6c6f881542649ca16fc30fd47cbe64b77b15 (patch) | |
tree | 03202b6df15ebaa928f56219a9a01476fea7945d /scripts | |
parent | a731675d1563f8f0da0e17761cf9811adf267618 (diff) | |
download | uenv-728b6c6f881542649ca16fc30fd47cbe64b77b15.tar.gz uenv-728b6c6f881542649ca16fc30fd47cbe64b77b15.tar.bz2 uenv-728b6c6f881542649ca16fc30fd47cbe64b77b15.tar.xz uenv-728b6c6f881542649ca16fc30fd47cbe64b77b15.zip |
scripts/mpd-pulse: Fixing condition in which service mpd@.service will fail if started for localhost.0.5.1
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mpd-pulse | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/mpd-pulse b/scripts/mpd-pulse index afb33e0..b1f4641 100755 --- a/scripts/mpd-pulse +++ b/scripts/mpd-pulse @@ -10,6 +10,8 @@ function connect () if [[ $1 != "${host}"* ]] && [[ $1 != localhost* ]]; then echo "Connecting with host \"$1\" using pax11publish." pax11publish -S $1 -e + else + exit 0 fi } @@ -18,6 +20,8 @@ function disconnect () if [[ $1 != "${host}"* ]] && [[ $1 != localhost* ]]; then echo "Disconnecting from host \"$1\" using pax11publish." pax11publish -r + else + exit 0 fi } |