> st.c:1321:2: warning: ignoring return value of function declared with
> warn_unused_result attribute [-Wunused-result]
> system(cmd);
> ^~ ~~~
I usually don't care about this kind of warnings, but in this case I
think we should check the value returned by system
st.c:1321:2: warning: ignoring return value of function declared with
warn_unused_result attribute [-Wunused-result]
system(cmd);
^~ ~~~
Debatable whether an error here should case exit(EXIT_FAILURE). Just
preserving the existing behaviour for now.
---
st.c | 3 ++