projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41d0660
)
terminate cdrrewrited immediately on signals
author
ivan
<ivan>
Sun, 1 May 2011 19:07:29 +0000
(19:07 +0000)
committer
ivan
<ivan>
Sun, 1 May 2011 19:07:29 +0000
(19:07 +0000)
FS/bin/freeside-cdrrewrited
patch
|
blob
|
history
diff --git
a/FS/bin/freeside-cdrrewrited
b/FS/bin/freeside-cdrrewrited
index
3382598
..
694f980
100644
(file)
--- a/
FS/bin/freeside-cdrrewrited
+++ b/
FS/bin/freeside-cdrrewrited
@@
-118,6
+118,8
@@
while (1) {
sleep 30; #i dunno, wait and see if the database comes back?
}
+ last if sigterm() || sigint();
+
}
myexit() if sigterm() || sigint();