index
:
tilpner/st
master
[no description]
Gitolite user
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
st.c
3
1 files changed, 2 insertions, 1 deletions
diff --git a/st.c b/st.c
index 8e51344..b042be2 100644
--- a/
st.c
+++ b/
st.c
@@ -1276,7 +1276,8 @@ stty(void)
siz-= n + 1;
}
*q = '\0';
- system(cmd);
+ if (system(cmd) != 0)
+ perror("Couldn't call stty");
}
void