package/mender: remove single hyphen command

Single hyphen commands has been removed since Mender 3.0.0 [1]

[1] fd838ec1b0

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Romain Naour 2022-01-06 16:35:41 +01:00 committed by Thomas Petazzoni
parent b2af6bef9c
commit 97daba5781
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ start() {
umask 077
start-stop-daemon -S -q -b -m -p /var/run/mender.pid \
--exec /usr/bin/mender -- -daemon
--exec /usr/bin/mender -- daemon
[ $? = 0 ] && echo "OK" || echo "FAIL"
}
stop() {

View File

@ -17,7 +17,7 @@ if [ -L /var/lib/mender \
mkdir -p "$(readlink /var/lib/mender)"; \
fi; \
fi'
ExecStart=/usr/bin/mender -daemon
ExecStart=/usr/bin/mender daemon
Restart=on-abort
[Install]