diff options
author | Erich Eckner <git@eckner.net> | 2019-08-22 13:55:59 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-08-22 13:55:59 +0200 |
commit | d08f3409df1f066808f12f7711100a7119609c3b (patch) | |
tree | 735b5858db98aa027af764e007d52d58b79269d4 /update-me.in | |
parent | fca58bcc06234bddfe4ee25a5f3b47072afcf7c0 (diff) | |
download | update-all-d08f3409df1f066808f12f7711100a7119609c3b.tar.xz |
update-me: style
Diffstat (limited to 'update-me.in')
-rw-r--r-- | update-me.in | 6 |
1 files 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 |