Changeset 12225 for trunk/gli/src/org
- Timestamp:
- 2006-07-14T10:03:04+12:00 (18 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/Gatherer.java
r12040 r12225 496 496 * @see org.greenstone.gatherer.gui.GUIManager 497 497 */ 498 static public void exit( )498 static public void exit(int exit_status) 499 499 { 500 500 DebugStream.println("In Gatherer.exit()..."); … … 529 529 if (!Gatherer.isApplet) { 530 530 // This is the end... 531 System.exit( 0);531 System.exit(exit_status); 532 532 } 533 533 } … … 538 538 } 539 539 540 static public void exit() 541 { 542 exit(0); 543 } 540 544 541 545 /** Returns the path of the Greenstone "collect" directory. */ -
trunk/gli/src/org/greenstone/gatherer/gui/Preferences.java
r12118 r12225 792 792 self.dispose(); 793 793 } 794 795 if (restart_required) { 796 Gatherer.exit(2); 797 } 794 798 } 795 799 }
Note:
See TracChangeset
for help on using the changeset viewer.