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

Submitter:  Thomas Champagne <lafeuil>
Submitted:  Thu 09 Feb 2006 01:10:03 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  Crash Status:  Fixed
Privacy:  Public Assigned to:  daniel_hozac
Open/Closed:  Closed Component 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>
Group Member
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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-09-17 daniel_hozac StatusNone Fixed
    Assigned toNone daniel_hozac
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.14-d582.
Corresponding source code