From d08f3409df1f066808f12f7711100a7119609c3b Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 22 Aug 2019 13:55:59 +0200 Subject: update-me: style --- update-me.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/update-me.in b/update-me.in index cff74f3..00864ee 100644 --- a/update-me.in +++ b/update-me.in @@ -37,10 +37,8 @@ if "${hasSudo}" && \ done fi -if [ ! "$(whoami)" == "root" ] -then - if ! "${hasSudo}" - then +if [ ! "$(whoami)" == "root" ]; then + if ! "${hasSudo}"; then hostname err=1 maxCount=3 -- cgit v1.2.3-54-g00ecf