diff options
Diffstat (limited to 'commands/state.c')
-rw-r--r-- | commands/state.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/commands/state.c b/commands/state.c index e7cb9902f7..56ef93b19f 100644 --- a/commands/state.c +++ b/commands/state.c @@ -53,6 +53,9 @@ static int do_state(int argc, char *argv[]) ret = state_save(state); } + if (ret == -ENOMEDIUM) + ret = 0; + return ret; } |