Made fatal errors clearer and fixed bug in fetch script
This commit is contained in:
parent
0d3d3fafb2
commit
ce9813a2af
@ -43,3 +43,6 @@ if [ -n "$DISPLAY_PROTOCOL" ]; then
|
||||
done
|
||||
fi
|
||||
[ -n "$DE_WM" ] && echo -e "${C3}DE/WM: ${C4}${DE_WM}"
|
||||
|
||||
# Exiting with error code 0 in case the condition above returns 1
|
||||
exit 0
|
2
main.go
2
main.go
@ -260,7 +260,7 @@ func runStormfetch() {
|
||||
}
|
||||
out, err := cmd.Output()
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
log.Fatalf("Error: Could not run fetch script: %s", err)
|
||||
}
|
||||
// Print Distro Information
|
||||
maxWidth := 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user