mirror of
https://github.com/munki/munki.git
synced 2026-02-21 14:40:31 -06:00
Remove trailing whitespace from all lines in launchapp (code style issue)
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
@@ -50,7 +50,7 @@ def main():
|
||||
# when run via launchd at loginwindow context, os.environ['USER']
|
||||
# is undefined, so we'll return root (the effective user)
|
||||
thisuser = "root"
|
||||
|
||||
|
||||
if (consoleuser == thisuser) or \
|
||||
(consoleuser == None and thisuser == "root"):
|
||||
cmd = ["/usr/bin/open"]
|
||||
@@ -68,7 +68,7 @@ def main():
|
||||
# sleep 10 secs to make launchd happy
|
||||
time.sleep(10)
|
||||
exit(0)
|
||||
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user