summaryrefslogtreecommitdiff
path: root/src/htscore.c
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-05-09 17:10:06 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-05-09 17:10:06 +0000
commit5d564d08125526d153928adcf872ed30827de6ed (patch)
tree6f17272de93fe03a3b19ab0210814fea5ea51b71 /src/htscore.c
parent90404c36f6ce33386242c00b41ec154dce65b30a (diff)
Fixed a bunch of warnings.
Diffstat (limited to 'src/htscore.c')
-rw-r--r--src/htscore.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/htscore.c b/src/htscore.c
index a67fcde..4973479 100644
--- a/src/htscore.c
+++ b/src/htscore.c
@@ -2856,7 +2856,9 @@ void usercommand_exe(const char* cmd,const char* file) {
strcatbuff(temp,c);
}
}
- system(temp);
+ if (system(temp) == -1) {
+ assertf(! "can not spawn process"); \
+ }
}