diff options
Diffstat (limited to 'src/rfkill')
-rw-r--r-- | src/rfkill | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21,7 +21,7 @@ get_rf_path() { if [[ -n "$RFKILL_NAME" ]]; then for path in /sys/class/rfkill/*; do - if [[ "$(cat "$path/name")" == "$RFKILL_NAME" ]]; then + if [[ "$(< "$path/name")" == "$RFKILL_NAME" ]]; then echo "$path" return 0 fi |