Skip to content

Commit

Permalink
remove script is user script fails
Browse files Browse the repository at this point in the history
  • Loading branch information
erikng committed Jul 23, 2020
1 parent 53452f0 commit 5218c96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion payload/Library/installapplications/installapplications.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,8 @@ def main():
os.remove(userscripttouchpath)
sys.exit(0)
else:
iaslog('Failed to run script!')
iaslog('Failed to run user script!')
os.remove(userscripttouchpath)
sys.exit(1)
else:
# Ensure the log path is writable by all before launchagent tries to do anything
Expand Down

0 comments on commit 5218c96

Please sign in to comment.