Bug 6784 - gnome-ppp start script not right handle group which belong user
Summary: gnome-ppp start script not right handle group which belong user
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: gnome-ppp (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Vitaly Lipatov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-05 14:24 MSD by Alexander All2
Modified: 2005-06-01 01:08 MSD (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander All2 2005-05-05 14:24:19 MSD
In start script which checks user group is written like this:

groups | grep netadmin; R=0
if [ "" = "0" ]; then
...

this doesnt handle right group for user on my PC
I suggest to use script like this:

groups | grep netadmin
if [ $? = "0" ]; then
...
This works fine for me
What do you think?
Comment 1 Alexander All2 2005-05-05 14:27:43 MSD
rpm -qa gnome-ppp
gnome-ppp-0.3.21-alt1
Comment 2 Vitaly Lipatov 2005-05-05 23:56:24 MSD
Спасибо, исправил в gnome-ppp-0.3.21-alt2 
P.S. Если хотите, можно писать in Russian. 
Comment 3 Vitaly Lipatov 2005-06-01 01:08:40 MSD
исправлено