Quote:
Originally Posted by jmp51483
Hey thanks for the response!
I was more a bit worried about this part
./back-res: line 238: [: -gt: unary operator expected
Line 238 has to do with:
if [ "$pfs" -gt "$maxp" ] ;then
Is this rendering the space check inoperable??
Thanks for this script though, it's amazing!
|
It's possible to render the space check inoperable. I'm not sure why you get this message. This error happens only if one of the $pfs or $maxp is inexistent, is not a number, or is a decimal number (ex: 10.5)
I've tested this script on Ubuntu 9.04 and 9.10 and more versions of Slackware (10.2 up to 13.0) and it's working as expected, no errors.
If you can read this:
http://gd.tuwien.ac.at/linuxcommand.org/wss0100.php and use "set" to see where the error is, post it here and I'll try to make the script better if I can.
Thank you for using this script and for providing feedback.
Edit: Can you please tell me what linux are you using? This will help me I hope to make the script better and more portable.
Recent comments
1 day 27 min ago
1 day 5 hours ago
1 day 9 hours ago
1 day 11 hours ago
2 days 1 hour ago
2 days 2 hours ago
2 days 7 hours ago
2 days 13 hours ago
2 days 14 hours ago
2 days 15 hours ago