diff options
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 |