* [Buildroot] [PATCH 1/1] S20random: use consistent whitespace
@ 2017-12-03 23:20 Danomi Manchego
2017-12-04 10:31 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Danomi Manchego @ 2017-12-03 23:20 UTC (permalink / raw)
To: buildroot
The S20random is indented with tabs, except for 3 lines. Change
to be consistent.
Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
---
package/initscripts/init.d/S20urandom | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/initscripts/init.d/S20urandom b/package/initscripts/init.d/S20urandom
index 2f5b4e4..cababe1 100755
--- a/package/initscripts/init.d/S20urandom
+++ b/package/initscripts/init.d/S20urandom
@@ -33,9 +33,9 @@ case "$1" in
;;
stop)
if ! touch /etc/random-seed 2>/dev/null
- then
- exit
- fi
+ then
+ exit
+ fi
# Carry a random seed from shut-down to start-up;
# see documentation in linux/drivers/char/random.c
[ "$VERBOSE" != no ] && printf "Saving random seed... "
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] S20random: use consistent whitespace
2017-12-03 23:20 [Buildroot] [PATCH 1/1] S20random: use consistent whitespace Danomi Manchego
@ 2017-12-04 10:31 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-12-04 10:31 UTC (permalink / raw)
To: buildroot
Hello,
On Sun, 3 Dec 2017 18:20:08 -0500, Danomi Manchego wrote:
> The S20random is indented with tabs, except for 3 lines. Change
> to be consistent.
>
> Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
> ---
> package/initscripts/init.d/S20urandom | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-12-04 10:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-03 23:20 [Buildroot] [PATCH 1/1] S20random: use consistent whitespace Danomi Manchego
2017-12-04 10:31 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox