Skip to content

Commit 06399ef

Browse files
committed
notify user to install bc
1 parent 63fb3d1 commit 06399ef

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

start.sh

+5
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ do
3232
esac
3333
done
3434

35+
if ! type "bc" > /dev/null 2>&1; then
36+
echo "please install bc"
37+
exit
38+
fi
39+
3540
allcmask0x=`cat ${conf}|grep lcore_mask|awk -F '=' '{print $2}'`
3641
((allcmask=16#$allcmask0x))
3742

0 commit comments

Comments
 (0)