Skip to content
Snippets Groups Projects
Verified Commit fd826286 authored by Karel Koci's avatar Karel Koci :metal:
Browse files

diagnostics: updater module read /tmp/updater_crash.log

parent 6c3b7650
No related branches found
No related tags found
No related merge requests found
#!modules/module.sh
help="
try to run updater
try to run updater and read /tmp/updater_crash.log
"
run () {
updater.sh -n
echo
local CRASH_LOG="/tmp/updater_crash.log"
if [ -e "$CRASH_LOG" ]; then
cat "$CRASH_LOG"
else
echo "No updater crashlog file ($CRASH_LOG)"
fi
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment