maybe
maybe copied to clipboard
bash script stuck when run with maybe
I have tried runnning the Nodejs install script with maybe 0.4.0-1 on Ubuntu Yakkety, and with maybe, the script simply stops after "echo 'Installing the NodeSource Node.js 6.x repo...'".
$ curl -sL https://rpm.nodesource.com/setup_6.x | sudo maybe bash -x -
+ print_status 'Installing the NodeSource Node.js 6.x repo...'
++ echo 'Installing the NodeSource Node.js 6.x repo...'
^Cmaybe has not detected any file system operations from bash -x -.
I had to run it without maybe to get the script to run!
Are you sure it actually stopped completely, rather than just slowed down? maybe
/ptrace
unfortunately has a very high overhead in some cases.
Hello! There was no CPU or I/O activity at all for more than one minute. I don't believe this to be the case!
Sounds like a bug then.
As a side note, I just want to re-iterate that as stated in the README maybe
is not security software. When doing things like curl | sudo maybe bash
, it's a good idea to ask yourself if you would be comfortable running the command without maybe
in there.
Thank you for your comment! I wanted to use maybe for installing Node so I could undo whatever they would have changed, if ever needed! I don't really like installing anything if not from the package manager!
Hey @teresaejunior that script will use package manager only to install Node. So you can uninstall it anytime. For more checkout the script itself and try installing it on some test environment.