Hi!
> +. cmdlib.sh

What is the cmdlib.sh needed here for?

> +# umount cpuacct if it has been mounted.
> +umount_cpuacct_mounted()
> +{
> +     dir=`cat /proc/mounts | grep cpuacct | awk '{print $2}'`
> +     if [ -n "$dir" ]; then
> +             umount "$dir" 2> /dev/null
> +     fi
> +}

...

The rest looks like pretty straightforward cleanup and therefore OK.

-- 
Cyril Hrubis
chru...@suse.cz

------------------------------------------------------------------------------
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to