Commit 91073384 authored by John Jekel's avatar John Jekel
Browse files

Nice exit message

parent c355bb36
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -28,13 +28,16 @@ fn main() {
        print(6, format!("Attempt {}", i + 1));
        if attempt() {
            print(5, format!("Attempt {} successful", i + 1));
            return;
            break;
        } else {
            print(3, format!("Attempt {} failed", i + 1));
        }

        i += 1;
    }

    //Exit
    print(5, "Finished");
}

fn is_root() -> bool {