diff options
| -rw-r--r-- | cli/src/cli-cmd-parser.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli-cmd-parser.c b/cli/src/cli-cmd-parser.c index c6d6232b638..94deb9125a2 100644 --- a/cli/src/cli-cmd-parser.c +++ b/cli/src/cli-cmd-parser.c @@ -2724,7 +2724,7 @@ config_parse(const char **words, int wordcount, dict_t *dict, unsigned cmdi,                  ret_chkpt = strptime(append_str, "%Y-%m-%d %H:%M:%S",                                       &checkpoint_time); -                if (ret_chkpt == NULL) { +                if (ret_chkpt == NULL || *ret_chkpt != '\0') {                      ret = -1;                      cli_err(                          "Invalid Checkpoint label. Use format "  | 
