projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update hardcoded loglevels, allow shortcuts, add to lttng.h API
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
view.c
diff --git
a/src/bin/lttng/commands/view.c
b/src/bin/lttng/commands/view.c
index c7424186041491f536efd0d61b9b44238dbdcc63..575109b86befce60e0a263f8aa90900b5c39debf 100644
(file)
--- a/
src/bin/lttng/commands/view.c
+++ b/
src/bin/lttng/commands/view.c
@@
-288,9
+288,11
@@
static int view_trace(void)
if (getuid() != 0) {
if (getuid() != geteuid()) {
ERR("UID does not match effective UID.");
+ ret = CMD_ERROR;
goto error;
} else if (getgid() != getegid()) {
ERR("GID does not match effective GID.");
+ ret = CMD_ERROR;
goto error;
}
}
This page took
0.024393 seconds
and
4
git commands to generate.