Kaynağa Gözat

* Simply last checking

Bryan Drewery 16 yıl önce
ebeveyn
işleme
b4daf4e9e9
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/shell.c

+ 1 - 1
src/shell.c

@@ -162,7 +162,7 @@ void check_last() {
     char *out = NULL, buf[50] = "";
 
     simple_snprintf(buf, sizeof(buf), STR("last -10 %s"), conf.username);
-    if (shell_exec(buf, NULL, &out, NULL)) {
+    if (shell_exec(buf, NULL, &out, NULL, 1)) {
       if (out) {
         char *p = NULL;