fix: crash when reload_config

This commit is contained in:
DreamMaoMao 2025-12-12 12:23:46 +08:00
parent 36995cca1f
commit 3e1e009a8d
2 changed files with 4 additions and 3 deletions

View file

@ -3184,5 +3184,5 @@ int reload_config(const Arg *arg) {
parse_config();
reset_option();
printstatus();
return 0;
return 1;
}