Browse Source

package/earlyoom: restore missing startup message in the init script

'/etc/init.d/S02earlyoom start' simply prints 'OK' instead of
'Starting earlyoom: OK' because of a typo in the printf function call.

Signed-off-by: Sergey Bobrenok <SIBobrenok@sberdevices.ru>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 281a80dc934d3e8d8e780b04276cfe38b4bea9d5)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Sergey Bobrenok 2 năm trước cách đây
mục cha
commit
0afd81fbf5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      package/earlyoom/S02earlyoom

+ 1 - 1
package/earlyoom/S02earlyoom

@@ -8,7 +8,7 @@ EARLYOOM_ARGS=""
 [ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON"
 
 start() {
-	printf() 'Starting %s: ' "$DAEMON"
+	printf 'Starting %s: ' "$DAEMON"
 	start-stop-daemon -b -m -S -q -p "$PIDFILE" -x "/usr/bin/$DAEMON" \
 	       -- $EARLYOOM_ARGS
 	status=$?