Sync OpenBSD patchset 1086:

Turn some errors down to info.
pull/1/head
Tiago Cunha 2012-04-10 09:53:52 +00:00
parent 36ece3fcf5
commit 09e6b7c137
1 changed files with 2 additions and 2 deletions

View File

@ -113,13 +113,13 @@ cmd_select_layout_exec(struct cmd *self, struct cmd_ctx *ctx)
layout_list_add(w);
if (args_has(self->args, 'U')) {
if ((layoutname = layout_list_redo(w)) == NULL) {
ctx->error(ctx, "no more layout history");
ctx->info(ctx, "no more layout history");
return (-1);
}
goto set_layout;
} else if (args_has(self->args, 'u')) {
if ((layoutname = layout_list_undo(w)) == NULL) {
ctx->error(ctx, "no more layout history");
ctx->info(ctx, "no more layout history");
return (-1);
}
goto set_layout;