Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD_CHECK=`df -Ph /mnt/adtracker_eps_adds/ | tail -n1 | awk '{print $4}' | sed 's/G//g'`
- echo $CMD_CHECK
- if [${CMD_CHECK} -lt 4.0] ; then
- echo "Were dying biatch"
- else
- echo "all goooood in da hooood"
- fi
- HINT: Check_cmd will return 3.0 at the moment....
- That if allways goes to else though, why? Typecasting?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement