From 90988da426d4bc0e319bf874b6cde1ee57241106 Mon Sep 17 00:00:00 2001 From: Matthew Lancellotti Date: Mon, 19 Mar 2018 17:55:28 -0400 Subject: [PATCH] make it clear to user when program exits successfully --- source/main.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/main.m b/source/main.m index 7edfa68..a3d18e6 100644 --- a/source/main.m +++ b/source/main.m @@ -46,6 +46,9 @@ int main( int argc, char* argv[] ) mach_error_t err = mach_inject_bundle_pid( [bundlePath fileSystemRepresentation], (CFURLRef)[NSURL fileURLWithPath:stubPath], pid ); NSLog(@"err %d", err); + if( !err ){ + NSLog(@"Success!"); + } [pool release];