linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] kernel-shark: Fix Capture if directory contains space
@ 2023-06-03  8:36 Yordan Karadzhov
  0 siblings, 0 replies; only message in thread
From: Yordan Karadzhov @ 2023-06-03  8:36 UTC (permalink / raw)
  To: linux-trace-devel; +Cc: Yordan Karadzhov, Vitaly Chikunov

Desktop directory could be two words separated by a space, for example "Work place".
The Capture widget then tries to write into file named "Work".

Suggested-by: Vitaly Chikunov <vt@altlinux.org>
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=217459
Signed-off-by: Yordan Karadzhov <y.karadz@gmail.com>
---
 bin/kshark-su-record | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/kshark-su-record b/bin/kshark-su-record
index 70d781d..f3d971a 100755
--- a/bin/kshark-su-record
+++ b/bin/kshark-su-record
@@ -2,4 +2,4 @@
 
 xhost +si:localuser:root &>/dev/null
 
-pkexec kshark-record -o ${PWD}/trace.dat
+pkexec kshark-record -o "${PWD}/trace.dat"
-- 
2.40.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-03  8:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-03  8:36 [PATCH] kernel-shark: Fix Capture if directory contains space Yordan Karadzhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).