munki / macadmin-scripts

Scripts of possible interest to macOS admins
Other
2.33k stars 523 forks source link

Fix indentation for os.getuid() condition #34

Closed timsutton closed 5 years ago

timsutton commented 5 years ago

Just correcting something introduced from #27

gregneagle commented 5 years ago

Fixed separately, but thanks.

timsutton commented 5 years ago

Actually wait - I don't see where this was fixed. Here's the actual error:

sudo ./installinstallmacos.py 
  File "./installinstallmacos.py", line 488
    sys.exit('This command requires root (to install packages), so please '
      ^
IndentationError: expected an indented block
gregneagle commented 5 years ago

I meant I had a local fixed version; not that I'd pushed the change :-(

Pushed now.

Too many interruptions/context switches here...