Commit Graph

5 Commits

Author SHA1 Message Date
Ian Wijma b0daf0db5f Improve script safety by quoting variables and updating comparisons
This commit updates the `test.sh` script to incorporate best shell scripting practices. Changes include quoting the variables "$SLEEP" and "$EXIT" to handle null or space-containing values better. The arithmetic comparison has been updated to use "bash-style" to improve the script's security. This refactoring aims to enhance the overall efficiency and reliability of the script execution.
2023-11-20 23:40:56 +11:00
Ian Wijma 5c7b1081ad run.sh > test.sh to clearify the command is for testing purposes. 2023-11-19 13:37:03 +11:00
Ian Wijma 77e1f29417 Added stderr output to the test command & updated console output 2023-11-19 13:36:20 +11:00
Ian Wijma afccf3a5c5 Updated the run command to have a custom exit code 2023-11-19 13:31:53 +11:00
Ian Wijma 510d299276 Created Keep Running (kr) command 2023-11-19 13:28:59 +11:00