mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
+3
-1
@@ -192,7 +192,9 @@ static void initState(FFstate* state)
|
||||
#else
|
||||
state->passwd = ffGetPasswd();
|
||||
#endif
|
||||
uname(&state->utsname);
|
||||
|
||||
if(uname(&state->utsname) != 0)
|
||||
memset(&state->utsname, 0, sizeof(struct utsname));
|
||||
|
||||
initConfigDirs(state);
|
||||
initDataDirs(state);
|
||||
|
||||
Reference in New Issue
Block a user