summaryrefslogtreecommitdiff
path: root/xpp/astribank_hook
diff options
context:
space:
mode:
Diffstat (limited to 'xpp/astribank_hook')
-rwxr-xr-xxpp/astribank_hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/xpp/astribank_hook b/xpp/astribank_hook
index dc55d14..52e2826 100755
--- a/xpp/astribank_hook
+++ b/xpp/astribank_hook
@@ -40,7 +40,7 @@ export DAHDI_CFG_CMD="dahdi_cfg -c $dahdi_conf/system.conf"
export CALLED_FROM_ATRIBANK_HOOK=yes
clean_lines() {
- sed -e 's/#.*//' -e 'y/\t/ /' -e 's/^ *//' -e 's/ *$//' "$XPPORDER_CONF"
+ sed -e 's/#.*//' -e 'y/\t/ /' -e 's/^ *//' -e 's/ *$//' -e '$s/$/\n/' "$XPPORDER_CONF"
}
matched_devices() {