summaryrefslogtreecommitdiff
path: root/update-me.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-08-22 13:55:59 +0200
committerErich Eckner <git@eckner.net>2019-08-22 13:55:59 +0200
commitd08f3409df1f066808f12f7711100a7119609c3b (patch)
tree735b5858db98aa027af764e007d52d58b79269d4 /update-me.in
parentfca58bcc06234bddfe4ee25a5f3b47072afcf7c0 (diff)
downloadupdate-all-d08f3409df1f066808f12f7711100a7119609c3b.tar.xz
update-me: style
Diffstat (limited to 'update-me.in')
-rw-r--r--update-me.in6
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