diff options
author | davidwoodfall <dave@dawoodfall.net> | 2018-09-07 20:57:03 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-09-08 08:37:44 +0700 |
commit | fe25a9fd5bdc1964d1e25c66b9794c20e7f944ae (patch) | |
tree | d1369db94e537ecb1bf74252212a937d450b365a /network/qbittorrent-qt5/rc.qbittorrent-nox.new | |
parent | 0e140061aae43ae4af93bc4f0f6a47e8e891e996 (diff) | |
download | slackbuilds-fe25a9fd5bdc1964d1e25c66b9794c20e7f944ae.tar.gz |
network/qbittorrent-qt5: Update to 4.1.2
Diffstat (limited to 'network/qbittorrent-qt5/rc.qbittorrent-nox.new')
-rw-r--r-- | network/qbittorrent-qt5/rc.qbittorrent-nox.new | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/network/qbittorrent-qt5/rc.qbittorrent-nox.new b/network/qbittorrent-qt5/rc.qbittorrent-nox.new index 9b78744ba4..aa916d8096 100644 --- a/network/qbittorrent-qt5/rc.qbittorrent-nox.new +++ b/network/qbittorrent-qt5/rc.qbittorrent-nox.new @@ -8,12 +8,12 @@ # To run this script from rc.local you must run it as a non-root user. # # Example: -# /bin/su - david -c /etc/rc.d/rc.qbittorrent-nox start 9000 +# /bin/su - david -c "/etc/rc.d/rc.qbittorrent-nox start 9000" # Program output is sent to /tmp/qbittorrent-nox-$USER # First some checks to see what's what. -if [ "$USER" = "root" ] && [ "$1" = "start" ]; then +if [ "$USER" = "root" ] && [[ "$1" =~ start ]]; then echo "Do not start the daemon as root." >/dev/stderr exit 1 fi |