You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Xilai Dai (JIRA)" <ji...@apache.org> on 2014/05/22 05:55:38 UTC

[jira] [Created] (KARAF-2996) shutdown +n command not work and shutdown hh:mm not been validated

Xilai Dai created KARAF-2996:
--------------------------------

             Summary: shutdown +n command not work and shutdown hh:mm not been validated
                 Key: KARAF-2996
                 URL: https://issues.apache.org/jira/browse/KARAF-2996
             Project: Karaf
          Issue Type: Bug
          Components: karaf-shell
    Affects Versions: 3.0.0
         Environment: Java 7, Win7 64bit
            Reporter: Xilai Dai


karaf@root()> shutdown +2
Confirm: halt instance root (yes/no): yes
Error executing command: Time 2 is not valid

"++2" will work but it's not expected.

karaf@root()> shutdown ++2
Confirm: halt instance root (yes/no): yes
Shutdown in 2 minute(s)

Also, the hh:mm has not been validated.
karaf@root()> shutdown 25:62
Confirm: halt instance root (yes/no): yes
Shutdown in 851 minute(s)



--
This message was sent by Atlassian JIRA
(v6.2#6252)