ss7m / paleofetch

neofetch, but written in C
MIT License
167 stars 50 forks source link

Segfault #33

Closed GOKOP closed 4 years ago

GOKOP commented 4 years ago

Built at commit be825d7 It starts printing but segfaults when it's supposed to print i-dont-remember-what. (probably distro name)

$ ./paleofetch 
                  -`                    gokop@demunarch
                 .o+`                   ---------------
[1]    13866 segmentation fault  ./paleofetch
ss7m commented 4 years ago

What operating system are you on? Do you not have an /etc/os-release file? In any case, error handling should be added for get_os

ss7m commented 4 years ago

In any case, try the latest commit and tell me what the results are.

GOKOP commented 4 years ago

Artix Linux. But it seems like all it took to fix was to run it with --recache. It may be worth attention tho that cache from older builds may break the program. Anyway I'm closing because my issue is solved