-
-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
executable does not run again following reboot #151
Comments
from shc.c:
|
Interesting, I have the same issue. Martin. |
See also #130. Looks like the same issue. No idea why "-r" switch works. The manual text talks about "relaxing security". The "-r" switch seems to be an undocumented mandatory switch to get expected behaviour. Agree would be interesting understanding why it's reqired. Would be even better to either:
|
Compiled simple shell script to executable with command line:
shc -S -f <my-script-filename>
Tested resulting executable several times. Runs as expected.
Rebooted machine.
Tried to run executable.
Executable fails and outputs random-seeming characters to stdout
Workaround: Recompiled with modified flags:
shc -r -S -f <my-script-filename>
Executable now survives reboot.
The text was updated successfully, but these errors were encountered: