mirror of
https://github.com/EnumeratedDev/stormfetch.git
synced 2026-10-31 10:21:48 +00:00
Made fatal errors clearer and fixed bug in fetch script
This commit is contained in:
1 parent
0d3d3fafb2
commit
ce9813a2af
3 files changed
+5
-2
No files matched your search
@@ -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