tag 621489 patch
thanks

Hi,

Line 21 of rtpw_test.sh contains

 killall rtpw 2&>/dev/null

If you use dash as /bin/sh, executing this line will run

 killall rtpw 2

in the background.  If rtpw is started on line 27 and then the
backgrounded killall kills it, I think that this would explain the
reported behavior.

Changing the "&>" to ">&" on line 21 should fix this problem.

-- 
Matt Kraai
https://ftbfs.org/kraai
diff -ru srtp-1.4.4~dfsg~/test/rtpw_test.sh srtp-1.4.4~dfsg/test/rtpw_test.sh
--- srtp-1.4.4~dfsg~/test/rtpw_test.sh	2011-04-10 02:25:47.000000000 -0700
+++ srtp-1.4.4~dfsg/test/rtpw_test.sh	2011-04-10 02:26:04.000000000 -0700
@@ -18,7 +18,7 @@
 # they are killed, those processes will linger.  Re-running the script
 # will get rid of them.
 
-killall rtpw 2&>/dev/null
+killall rtpw 2>&/dev/null
 
 if test -x $RTPW; then
 

Reply via email to