Be paranoid about refreshing after an action.
This commit is contained in:
parent
99a0254a52
commit
a9a9f9ac90
@ -187,8 +187,7 @@ fire(Option opt)
|
||||
int (*cp)(char *) = opt.data, rcode;
|
||||
|
||||
rcode = cp(NULL);
|
||||
if (rcode & (DITEM_RECREATE | DITEM_RESTORE))
|
||||
status = 1;
|
||||
status = 1;
|
||||
}
|
||||
else if (opt.type == OPT_IS_VAR) {
|
||||
if (opt.data) {
|
||||
|
@ -187,8 +187,7 @@ fire(Option opt)
|
||||
int (*cp)(char *) = opt.data, rcode;
|
||||
|
||||
rcode = cp(NULL);
|
||||
if (rcode & (DITEM_RECREATE | DITEM_RESTORE))
|
||||
status = 1;
|
||||
status = 1;
|
||||
}
|
||||
else if (opt.type == OPT_IS_VAR) {
|
||||
if (opt.data) {
|
||||
|
Loading…
Reference in New Issue
Block a user