Opened 11 years ago

Closed 8 years ago

#521 closed defect (fixed)

IZ2586: inst_sge should exit with non-zero exit status if -auto given with non-existant file

Reported by: opoplawski Owned by:
Priority: normal Milestone:
Component: sge Version: 6.2beta
Severity: minor Keywords: PC Linux install
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=2586]

        Issue #:      2586             Platform:     PC        Reporter: opoplawski (opoplawski)
       Component:     gridengine          OS:        Linux
     Subcomponent:    install          Version:      6.2beta      CC:    None defined
        Status:       REOPENED         Priority:     P3
      Resolution:                     Issue type:    DEFECT
                                   Target milestone: ---
      Assigned to:    dom (dom)
      QA Contact:     dom
          URL:
       * Summary:     inst_sge should exit with non-zero exit status if -auto given with non-existant file
   Status whiteboard:
      Attachments:

     Issue 2586 blocks:
   Votes for issue 2586:


   Opened: Tue May 27 14:13:00 -0700 2008 
------------------------


inst_sge should exit with non-zero exit status if -auto given with non-existant
file.  This should fix:

--- gridengine/source/dist/inst_sge.auto        2007-10-03 11:24:25.000000000 -0600
+++ gridengine/source/dist/inst_sge     2007-10-03 11:24:35.000000000 -0600
@@ -138,6 +138,7 @@
      FILE="$2"
      if [ ! -f "$2" ]; then
         ErrUsage
+        exit 1
      fi
      shift
      ARGC=`expr $ARGC - 1`


Perhaps ErrUsage should exit itself?  There look to be other spots in inst_sge
where an exit needs to be added after ErrUsage.

   ------- Additional comments from opoplawski Tue Oct 27 11:39:51 -0700 2009 -------
This appears to have been fixed in 6.2u4

   ------- Additional comments from opoplawski Tue Oct 27 11:41:25 -0700 2009 -------
I take that back...

Change History (1)

comment:1 Changed 8 years ago by dlove

  • Resolution set to fixed
  • Severity set to minor
  • Status changed from new to closed

Fixed by [3544].

Note: See TracTickets for help on using tickets.