summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-11-10 20:37:52 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-11-10 20:37:52 +0000
commit0fd0938ef7c0598d984d60ac968a89c08af5295c (patch)
tree8fc69210078f7b0a09d4bcce9cb9b1b1bc60005b
parenta63e0e4414fa6cbd0893c76fb815d37de1e54843 (diff)
xpp init_card_2_30: no need to check environment in verify mode.
Fixes #13832 in Zaptel. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5288 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-rwxr-xr-xdrivers/dahdi/xpp/init_card_2_302
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/xpp/init_card_2_30 b/drivers/dahdi/xpp/init_card_2_30
index c5c785d..13a28cf 100755
--- a/drivers/dahdi/xpp/init_card_2_30
+++ b/drivers/dahdi/xpp/init_card_2_30
@@ -67,7 +67,7 @@ sub debug {
}
# Arrange for error logging
-if (-t STDERR) {
+if (-t STDERR || $opts{v}) {
$unit_id = 'Interactive';
main::debug "Interactive startup";
} else {