Skip to content

Commit 472d2a2

Browse files
committed
Issue #58: gslist exit status is 1 when no servers are avaialble ... ignore gslist failures ... [ci skip]
1 parent 2473c9d commit 472d2a2

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
accessing
22
runShellCommand: shellCommandPath args: shellArgumentArray
3-
^ self class runShellCommand: shellCommandPath args: shellArgumentArray
3+
^ self class runShellCommand: shellCommandPath args: shellArgumentArray noError: false

Diff for: repository/GsDevKit-CommandLine.package/GsDevKitAbstractCommandLineHandler.class/methodProperties.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
{
22
"class" : {
33
"isAbstract" : "dkh 7/19/2014 07:48",
4-
"runShellCommand:args:" : "dkh 3/20/2015 11:01" },
4+
"runShellCommand:args:" : "dkh 3/20/2015 12:07",
5+
"runShellCommand:args:noError:" : "dkh 3/20/2015 12:07" },
56
"instance" : {
67
"backupsHome" : "dkh 7/19/2014 17:46",
78
"binHome" : "dkh 7/30/2014 15:34",
89
"gemstoneHome" : "dkh 7/17/2014 16:13",
910
"gsDevKitHome" : "dkh 7/17/2014 13:41",
1011
"gsDownloadNameFor:" : "dkh 7/18/2014 08:50",
1112
"productsHome" : "dkh 7/17/2014 16:14",
12-
"runShellCommand:args:" : "dkh 3/20/2015 11:00",
13+
"runShellCommand:args:" : "dkh 3/20/2015 12:08",
14+
"runShellCommand:args:noError:" : "dkh 3/20/2015 12:08",
1315
"sessionDescription" : "dkh 7/19/2014 17:40",
1416
"sessionDescriptionHome" : "dkh 2/17/2015 10:54",
1517
"stoneInfoFilename" : "dkh 7/18/2014 08:29",

Diff for: repository/GsDevKit-CommandLine.package/GsDevKitStonesCommandLineHandler.class/instance/runningNetldiReportOn..st

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ runningNetldiReportOn: stream
88
stream
99
nextPutAll: 'Running Netldis:';
1010
cr.
11-
result := self runShellCommand: (self gemstoneBin / 'gslist') pathString args: #('-lc').
11+
result := self runShellCommand: (self gemstoneBin / 'gslist') pathString args: #('-lc') noError: true.
1212
(result beginsWith: 'gslist[Info]: No GemStone servers')
1313
ifTrue: [ ^ self ].
1414
stream

Diff for: repository/GsDevKit-CommandLine.package/GsDevKitStonesCommandLineHandler.class/instance/runningStoneReportOn..st

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ runningStoneReportOn: stream
88
stream
99
nextPutAll: 'Running Stones:';
1010
cr.
11-
result := self runShellCommand: (self gemstoneBin / 'gslist') pathString args: #('-lc').
11+
result := self runShellCommand: (self gemstoneBin / 'gslist') pathString args: #('-lc') noError: true.
1212
(result beginsWith: 'gslist[Info]: No GemStone servers')
1313
ifTrue: [ ^ self ].
1414
stream

Diff for: repository/GsDevKit-CommandLine.package/GsDevKitStonesCommandLineHandler.class/methodProperties.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
"installedStoneReportOn:" : "dkh 7/18/2014 11:41",
1111
"installedStones" : "dkh 7/18/2014 09:51",
1212
"produceStoneReport" : "dkh 7/21/2014 13:22",
13-
"runningNetldiReportOn:" : "dkh 7/18/2014 21:14",
14-
"runningStoneReportOn:" : "dkh 7/18/2014 11:39" } }
13+
"runningNetldiReportOn:" : "dkh 3/20/2015 12:09",
14+
"runningStoneReportOn:" : "dkh 3/20/2015 12:09" } }

Diff for: repository/GsDevKit-CommandLine.package/monticello.meta/version

+1-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)