- Added a new on-launch-misbehave2 script that emits unexpected JSON.
This commit is contained in:
Paul Beckingham
2015-02-14 16:14:20 -05:00
parent 3cce6c23f5
commit bd785ffad5
3 changed files with 39 additions and 3 deletions

View File

@@ -0,0 +1,18 @@
#!/bin/sh
# The on-launch event is triggered once, after initialization, before any
# processing occurs. This hooks script has no effect on processing.
# Input:
# - None
# Output:
# - Optional feedback/error.
echo '{"description":"extra","status":"pending"}'
echo 'FEEDBACK'
# Status:
# - 0: JSON ignored, non-JSON is feedback.
# - non-0: JSON ignored, non-JSON is error.
exit 0