Explorar el Código

Added exit statement

Lorenz Bung hace 8 años
padre
commit
3498f39c30
No account linked to committer's email address
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1
    0
      hw5/task1/src/main.rs

+ 1
- 0
hw5/task1/src/main.rs Ver fichero

@@ -27,5 +27,6 @@ fn main() {
27 27
         zombie::run_zombie();
28 28
     } else {
29 29
         println!("Bitte nur einen oder zwei Parameter angeben!");
30
+        process::exit(1)
30 31
     }
31 32
 }

Loading…
Cancelar
Guardar