mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-27 09:21:41 +02:00
12 lines
348 B
Diff
12 lines
348 B
Diff
--- lttng-tools-2.8.0.orig/src/bin/lttng/commands/snapshot.c
|
|
+++ lttng-tools-2.8.0/src/bin/lttng/commands/snapshot.c
|
|
@@ -447,7 +447,7 @@
|
|
|
|
errno = 0;
|
|
id = strtol(argv[1], &name, 10);
|
|
- if (id == 0 && errno == 0) {
|
|
+ if (id == 0 && (errno == 0 || errno == EINVAL)) {
|
|
if (lttng_opt_mi) {
|
|
ret = mi_del_output(UINT32_MAX, name);
|
|
} else {
|