Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2996

shutdown +n command not work and shutdown hh:mm not been validated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 2.4.0, 3.0.2, 4.0.0.M3
    • karaf
    • None
    • Java 7, Win7 64bit

    Description

      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)

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            xldai Xilai Dai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: