summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannes Mehnert <hannes@gentoo.org>2003-03-03 23:04:35 +0000
committerHannes Mehnert <hannes@gentoo.org>2003-03-03 23:04:35 +0000
commit2f8e5930f3499911f0bdbfe4d5f26d49586ded33 (patch)
tree4a0ccbb2e1bfee32cd5b517545328878b57695b4 /net-dialup/rppppoek/files
parentMoving from net-www to net-zope. (diff)
downloadgentoo-2-2f8e5930f3499911f0bdbfe4d5f26d49586ded33.tar.gz
gentoo-2-2f8e5930f3499911f0bdbfe4d5f26d49586ded33.tar.bz2
gentoo-2-2f8e5930f3499911f0bdbfe4d5f26d49586ded33.zip
fixed patch as described in bug #16668
Diffstat (limited to 'net-dialup/rppppoek/files')
-rw-r--r--net-dialup/rppppoek/files/rppppoek-0.33-panelicon.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-dialup/rppppoek/files/rppppoek-0.33-panelicon.patch b/net-dialup/rppppoek/files/rppppoek-0.33-panelicon.patch
index 16a64f42c36d..4bbd69dc8f51 100644
--- a/net-dialup/rppppoek/files/rppppoek-0.33-panelicon.patch
+++ b/net-dialup/rppppoek/files/rppppoek-0.33-panelicon.patch
@@ -5,12 +5,12 @@
KActionCollection* actionCollection = new KActionCollection(this);
+ stat = new KProcess;
-+ *stat << "ifconfig" << "ppp0";
++ *stat << "/sbin/ifconfig" << "ppp0";
+ stat->start(KProcess::Block, KProcess::Stdout);
-+ if (stat->exitStatus() == 0) {
-+ setPixmap(Icon("connect_established"));
-+ } else {
++ if (stat->exitStatus()) {
+ setPixmap(Icon("connect_no"));
++ } else {
++ setPixmap(Icon("connect_established"));
+ }
+
start = new KProcess;