diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2012-03-04 12:22:18 +0100 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2012-03-04 12:22:18 +0100 |
commit | 20f45928eaf72ed5413c0ac0c6e30bb771c03a5f (patch) | |
tree | 19e12fd9f6c66f368584ca084df2fa9ec6ac9a90 /scripts/netcfg-wpa_actiond | |
parent | 5e7df6ce79c6d7217d583d45b858f958f7a2e600 (diff) | |
download | netctl-20f45928eaf72ed5413c0ac0c6e30bb771c03a5f.tar.gz netctl-20f45928eaf72ed5413c0ac0c6e30bb771c03a5f.tar.xz |
Remove cat-subshells (cosmetic)
The use of cat in a subshell is distractive.
This makes the code more beautiful.
Diffstat (limited to 'scripts/netcfg-wpa_actiond')
-rwxr-xr-x | scripts/netcfg-wpa_actiond | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/netcfg-wpa_actiond b/scripts/netcfg-wpa_actiond index c8a2867..f276ab2 100755 --- a/scripts/netcfg-wpa_actiond +++ b/scripts/netcfg-wpa_actiond @@ -20,7 +20,7 @@ case $1 in [[ -f "$IFACE_DIR/$interface" ]] && source "$IFACE_DIR/$interface" netcfg -i "$interface" stop_wpa "$interface" - kill $(cat "/run/wpa_actiond_${2}.pid") + kill $(< "/run/wpa_actiond_${2}.pid") # only try to disable software rfkill switches (FS#25514) if [[ "$RFKILL" == "soft" ]]; then set_rf_state "$interface" disabled $RFKILL_NAME || exit $? |