removed unnecessary comments
This commit is contained in:
parent
6d3a508dbf
commit
d918976574
|
@ -69,8 +69,6 @@ preflight()
|
||||||
{
|
{
|
||||||
|
|
||||||
#amiroot?
|
#amiroot?
|
||||||
# Thhis is a safter way of testing this
|
|
||||||
# See: http://askubuntu.com/questions/30148/how-can-i-determine-whether-a-shellscript-runs-as-root-or-not/
|
|
||||||
if ! [ $(id -u) = 0 ]; then
|
if ! [ $(id -u) = 0 ]; then
|
||||||
echo "aborting mission, you must be root."
|
echo "aborting mission, you must be root."
|
||||||
return 1
|
return 1
|
||||||
|
|
Reference in New Issue