summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-05-23 09:14:36 +0000
committerOlivier Blin <oblin@mandriva.com>2008-05-23 09:14:36 +0000
commitf8956ac1a424c08319cff57d7d327126fdc36ef3 (patch)
tree1f43be9b5141869dfe7f10c0137ed1a9f7a45df5
parent083632066c8b364437aac6754dafef2708c681cb (diff)
downloaddrakx-net-f8956ac1a424c08319cff57d7d327126fdc36ef3.tar
drakx-net-f8956ac1a424c08319cff57d7d327126fdc36ef3.tar.gz
drakx-net-f8956ac1a424c08319cff57d7d327126fdc36ef3.tar.bz2
drakx-net-f8956ac1a424c08319cff57d7d327126fdc36ef3.tar.xz
drakx-net-f8956ac1a424c08319cff57d7d327126fdc36ef3.zip
hang when waiting for comgt to finish
-rw-r--r--lib/network/connection/cellular_card.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/connection/cellular_card.pm b/lib/network/connection/cellular_card.pm
index 5eaa7c3..4e5742e 100644
--- a/lib/network/connection/cellular_card.pm
+++ b/lib/network/connection/cellular_card.pm
@@ -224,7 +224,7 @@ Entering the wrong PIN code multiple times may lock your SIM card!");
kill 'TERM', $pid;
close($cmd_out);
close($cmd_in);
- waitpid($pid, c::WNOHANG());
+ waitpid($pid, 0);
$device_ready;
}