dss.sh emits "too many arguments" or "unexpected operator" error

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium

      Running dss.sh on linux will emit a "too many arguments" or "unexpected operator" error.

      The issue is with line 52 of the dss.sh script:

      if [ $OTHERARGS = "" ]; then

      $OTHERARGS should be wrapped in quotes:

      if [ "$OTHERARGS" = "" ]; then

      Or perhaps using the -z option below is better:

      if [ -z $OTHERARGS ]; then

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-2873 - dss.sh emits "too many arguments" o...
                SYNCHRONIZED
                • Last Sync Date: