bugutil-vserver - Bugs: bug #15678, Method condrestart in the command...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #15678: Method condrestart in the command vserver doesn't work

Submitted by:  Thomas Champagne <lafeuil>
Submitted on:  Thu 09 Feb 2006 01:10:03 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: CrashStatus: Fixed
Privacy: PublicAssigned to: Daniel Hokka Zakrisson <daniel_hozac>
Open/Closed: ClosedComponent Version: stable
Release: 0.30.210

Sun 17 Sep 2006 10:41:26 PM UTC, comment #1:

Thanks, this should be fixed in SVN.

Daniel Hokka Zakrisson <daniel_hozac>
Project MemberIn charge of this item.
Thu 09 Feb 2006 01:10:03 PM UTC, original submission:

I detect a bug for the method condrestart in the command vserver. The test, checking if the vserver runs, doesn't work and returns the following error :
"isVserverRunning: unary operator expected". So, the vserver is always started.
I suggest this to correct it :

-test ! isVserverRunning "$VSERVER_DIR" || restart
+isVserverRunning "$VSERVER_DIR" && restart

Thomas Champagne <lafeuil>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 17 Sep 2006 10:41:26 PM UTCdaniel_hozacStatusNone=>Fixed
  Assigned toNone=>daniel_hozac
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1