OpenVZ Forum


Home » General » Discussions » OpenVZ Simple Scripts
Re: OpenVZ Simple Scripts [message #16256 is a reply to message #13267] Wed, 29 August 2007 22:30 Go to previous message
PureGrain is currently offline  PureGrain
Messages: 3
Registered: August 2007
Location: Louisville, KY
Junior Member
These are very nice. Saves people time making scripts like these and I thank you for your time and offering them for others to use.

I was getting an error when trying to use the vpsstatus.sh script.
./vpsstatus.sh: line 1: [: not: unary operator expected

I fixed this by changing some things around in your script. Hope you do not mind. Surprised)

Where you have:
if [ not $1 ]

I changed to:
if [ "$1" = "" ];

[Updated on: Wed, 29 August 2007 22:30]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: High Availability
Next Topic: OpenVZ article on Italian "Linux Magazine"
Goto Forum:
  


Current Time: Sun Nov 17 23:24:43 GMT 2024

Total time taken to generate the page: 0.02838 seconds