Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-2075

apacheds.sh creates a file called '0' during stop action

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M20
    • Fix Version/s: 2.0.0-M21
    • Component/s: None
    • Labels:
      None

      Description

      Whoops!

      ...
              while [ $ATTEMPTS_REMAINING > 0 ]; do
                  kill -0 $PID > /dev/null 2>&1
                  if [ $? > 0 ]; then
      ...
      

      Needs to be -gt instead of > in the tests...

        Activity

        Hide
        elecharny Emmanuel Lecharny added a comment -

        Good catch !

        Fixed with http://svn.apache.org/r1687816

        Show
        elecharny Emmanuel Lecharny added a comment - Good catch ! Fixed with http://svn.apache.org/r1687816
        Hide
        ltheisen@mitre.org lucas theisen added a comment - - edited

        I quite literally committed right on top of you... I kept my version because of an additional -gt at the end of the kill -0 line...

        Committed revision 1687818

        Show
        ltheisen@mitre.org lucas theisen added a comment - - edited I quite literally committed right on top of you... I kept my version because of an additional -gt at the end of the kill -0 line... Committed revision 1687818

          People

          • Assignee:
            Unassigned
            Reporter:
            ltheisen@mitre.org lucas theisen
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development