summaryrefslogtreecommitdiffstats
path: root/src/rfkill
diff options
context:
space:
mode:
Diffstat (limited to 'src/rfkill')
-rw-r--r--src/rfkill2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rfkill b/src/rfkill
index 4fbc34d..12e1832 100644
--- a/src/rfkill
+++ b/src/rfkill
@@ -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