Command line utility for provisioning customized security environments. This utility comes under the Be-Secure project which is an umbrella of open source security projects, tools, sandbox environments to perform security assessments and secure open source technology stacks
After trying the install command, pressing ^C on terminal will print the message set for user interruptions trap.
Expected behaviour
Should be cleaned up properly after the trap. Even after pressing ctrl + c after running the install command, user should not get the message set for trap.
Actual behaviour
arunsuresh@L-156320803:~$ ^C
User interrupted
-bash: return: can only `return' from a function or sourced script
Contribution guidelines
Description
After trying the install command, pressing
^C
on terminal will print the message set for user interruptions trap.Expected behaviour
Should be cleaned up properly after the trap. Even after pressing
ctrl + c
after running the install command, user should not get the message set for trap.Actual behaviour
arunsuresh@L-156320803:~$ ^C User interrupted
-bash: return: can only `return' from a function or sourced script
Steps to reproduce
develop
branch.install
command.ctrl + c
.Relevant screenshots
NA
Possible Solution
Should set
trap - SIGINT
after trap.Additional Information
No response