summaryrefslogtreecommitdiff
path: root/src/atrace/atrace.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/atrace/atrace.cpp')
-rwxr-xr-xsrc/atrace/atrace.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/atrace/atrace.cpp b/src/atrace/atrace.cpp
index c509354..b3fdb77 100755
--- a/src/atrace/atrace.cpp
+++ b/src/atrace/atrace.cpp
@@ -399,7 +399,7 @@ static bool initEnabledTagFile()
if(fileExists(ENABLED_TAG_FILE)) {
fprintf(stderr, "[Info] T-trace has been already initailized\n");
- return false; //atrace has been already initailized.
+ return true; //atrace has been already initailized.
}
fd = open("/tmp/tmp_tag", O_CREAT | O_RDWR | O_CLOEXEC, 0600);
@@ -963,7 +963,7 @@ int main(int argc, char **argv)
default:
fprintf(stderr, "\n");
showHelp(argv[0]);
- exit(-1);
+ exit(0);
break;
}
}