txlyre 1 年之前
父節點
當前提交
0dba07e3f9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      langs/csharp/run.sh

+ 1 - 1
langs/csharp/run.sh

@@ -5,6 +5,6 @@ cat > "$IN"
 
 mcs -out:"$OUT" "$IN"
 
-if [ -f $OUT ] && ! [ -s $OUT ]; then
+if [ $? -eq 0 ]; then
   mono "$OUT"
 fi