open-iscsi / configshell-fb

configshell with additional modifications, see README
Apache License 2.0
28 stars 37 forks source link

Don't warn if prefs file doesn't exist #56

Closed tserong closed 4 years ago

tserong commented 4 years ago

The first time configshell is used, prefs.bin won't exist, so you'll see something like:

Warning: Could not load preferences file /root/.whatever/prefs.bin.

If the file doesn't actually exist, this warning is just confusing, so I've added an existence check to Prefs.load()

Signed-off-by: Tim Serong tserong@suse.com

LenzGr commented 4 years ago

I stumbled over this issue myself - thanks for reporting this @tserong

Is there anything missing in order to get this merged?