Commit c1c8153
committed
hw-mgmgt: scripts: Fix generate dump failed on sys folder.
In case of simlink contains special characters (spaces/parentheses) generate
debug dump can fail. It happens because command "ls -Rla /sys/" fails when
encountering symlinks that contains special characters (example in Marvell driver names).
Fix: Use "find" command instead of "ls"
Bug: 4828481
Signed-off-by: Oleksandr Shamray <oleksandrs@nvidia.com>1 parent fbe597a commit c1c8153
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
78 | 80 | | |
79 | 81 | | |
80 | 82 | | |
| |||
0 commit comments