From 20f45928eaf72ed5413c0ac0c6e30bb771c03a5f Mon Sep 17 00:00:00 2001 From: Jouke Witteveen Date: Sun, 4 Mar 2012 12:22:18 +0100 Subject: Remove cat-subshells (cosmetic) The use of cat in a subshell is distractive. This makes the code more beautiful. --- scripts/netcfg-wpa_actiond | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/netcfg-wpa_actiond') 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 $? -- cgit v1.2.3-24-g4f1b