diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-16 09:32:48 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-16 09:32:48 +0100 |
commit | 9ee6d97c2883d42f204a533a8bc1f4562df778fb (patch) | |
tree | b690ddc0ca30f1472887edbb0b8313629bfcbbb2 /app-mobilephone/sobexsrv/files | |
parent | b17a3ef12038de50228bade1f05502c74e135321 (diff) |
gentoo resync : 16.09.2020
Diffstat (limited to 'app-mobilephone/sobexsrv/files')
-rw-r--r-- | app-mobilephone/sobexsrv/files/init.d_sobexsrv | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app-mobilephone/sobexsrv/files/init.d_sobexsrv b/app-mobilephone/sobexsrv/files/init.d_sobexsrv index e02530314ca8..fa27e19ef116 100644 --- a/app-mobilephone/sobexsrv/files/init.d_sobexsrv +++ b/app-mobilephone/sobexsrv/files/init.d_sobexsrv @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 depend() { @@ -17,7 +17,7 @@ check_config() { return 1 fi - if [ ${CHROOT} = "yes" ] ; then + if [ "${CHROOT}" = "yes" ] ; then if [ ! -u /usr/bin/sobexsrv ] ; then eerror "The \$CHROOT option requires /usr/bin/sobexsrv to be suid root!" return 1 @@ -47,7 +47,7 @@ start() { OPTIONS="-I -r ${INBOX} ${OPTIONS} ${SOBEXSRV_OPT}" - start-stop-daemon --chuid ${USER}:${GROUP} --start --quiet --exec /usr/bin/sobexsrv -- $OPTIONS + start-stop-daemon --user ${USER}:${GROUP} --start --quiet --exec /usr/bin/sobexsrv -- $OPTIONS eend $? } |