[PATCH] kernel-shark: Fix Capture if directory contains space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=217459
Signed-off-by: Yordan Karadzhov <y.karadz@xxxxxxxxx>
---
 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




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux