mirror of
https://github.com/EnumeratedDev/stormfetch.git
synced 2026-09-15 23:46:12 +00:00
Made fatal errors clearer and fixed bug in fetch script
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user