Vince

Active Member
PartnerNOC
Aug 13, 2001
25
0
301
cPanel Access Level
DataCenter Provider
Theres a small bug in /etc/bashrc.
this line:

DNS=`cat /var/cpanel/users/$whoami | grep DNS | awk -F= \'{ print $2 }\' | tr -d \' \'`

Fetches subdomains from the /var/cpanel/users/ file too, and shouldn\'t.
It can be fixed by changing it to:

DNS=`cat /var/cpanel/users/$whoami | grep DNS= | awk -F= \'{ print $2 }\' | tr -d \' \'`

Thanks.

Vince.
 

moronhead

Well-Known Member
Aug 12, 2001
706
0
316
What does that line do (before your edit and after) and why is it so important? We will appreciate some more info.