Browse Source
This fixes up a previous commit which breaks iwctl. The check was added to satisfy static analysis but it ended up preventing iwctl from starting. In this case mkdir can fail (e.g. if the directory already exists) and only if it fails should the history be read. Otherwise a successful mkdir return indicates the history folder is new and there is no reason to try reading it.upstream/latest

committed by
Denis Kenzior

1 changed files with 7 additions and 9 deletions
Loading…
Reference in new issue