We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Lines
runner/src/Misc/layoutbin/installdependencies.sh
Lines 69 to 72 in ca2b1bc
FIX: Store the error code to a temporary variable before if, and then use that variable in both if and echo.
Also it would be good to print out the failing command line, like
apt_get update && $apt_get install -y libkrb5-3 zlib1g failed with error code 7.
To Reproduce
Disconnect net when running the script.
Expected behavior Should print the error code returnted by apt-get
Version of your runner? ??
OS of the machine running the runner? OSX/Windows/Linux/... Linux
Error printing
N/A
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Lines
runner/src/Misc/layoutbin/installdependencies.sh
Lines 69 to 72 in ca2b1bc
do not print out the actual error. The "$?" variable gets cleared with if -command.
FIX: Store the error code to a temporary variable before if, and then use that variable in both if and echo.
Also it would be good to print out the failing command line, like
To Reproduce
Disconnect net when running the script.
Expected behavior
Should print the error code returnted by apt-get
Runner Version and Platform
Version of your runner? ??
OS of the machine running the runner? OSX/Windows/Linux/...
Linux
What's not working?
Error printing
Job Log Output
N/A
Runner and Worker's Diagnostic Logs
N/A
The text was updated successfully, but these errors were encountered: