]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Bug 691: cleanup after DTE-DCE speed deduction failure
authorLee Howard <faxguy@howardsilvan.com>
Tue, 10 Jan 2006 01:14:27 +0000 (01:14 +0000)
committerLee Howard <faxguy@howardsilvan.com>
Tue, 10 Jan 2006 01:14:27 +0000 (01:14 +0000)
etc/probemodem.sh.in

index 2798185fb7edcf829dc6df7370b43d642928da9a..b11c376f6afb9d5124d4ecd171ad4a8c124a0e49 100644 (file)
@@ -251,6 +251,7 @@ if [ -z "$SPEED" ]; then
        echo "Unable to deduce DTE-DCE speed; check that you are using the"
        echo "correct device and/or that your modem is setup properly.  If"
        echo "all else fails, try the -s option to lock the speed."
+       @RM@ -f $JUNK; @RM@ -fr $TMPDIR
        exit 1
     fi
     echo " OK."