mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-28 20:58:22 +00:00
pwmconfig: Fix a sed expression
This fixes commit 3daae37d58.
The escaping inside backticks is really kinda crazy.
Fixes #126
Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
This commit is contained in:
1 parent
bcc5c67eff
commit
38220cc2e9
1 file changed
+1
-1
+1
-1
@@ -879,7 +879,7 @@ select pwms in $pwmactive "Change INTERVAL" "Just quit" "Save and quit" "Show co
|
||||
break ;;
|
||||
|
||||
"$(echo ${pwmactive} |sed -e 's/ /\n/g' | egrep "${pwms}")" )
|
||||
pwmsed=$(echo ${pwms} | sed -e 's/\//\\\\\//g') #escape / for sed
|
||||
pwmsed=$(echo ${pwms} | sed -e 's/\//\\\//g') #escape / for sed
|
||||
echo
|
||||
|
||||
echo 'Devices:'
|
||||
|
||||
Reference in new issue
Block a user