Fix for shellcheck problem and whitespace issue as suggested by Reed Wade (also stripping trailing spaces)

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
master
Maarten van Gompel 4 years ago
parent 0f685fa3a4
commit f0d40f28fc
  1. 2
      scripts/core/sxmo_networks.sh

@ -54,7 +54,7 @@ addnetworkgsmmenu() {
addnetworkwpamenu() { addnetworkwpamenu() {
SSID="$( SSID="$(
nmcli d wifi list | tail -n +2 | grep -v '^*' | awk '{ print $2 }' | grep -v '\-\-' | nmcli d wifi list | tail -n +2 | grep -v '^\*' | awk -F' ' '{ print $6 }' | grep -v '\-\-' |
xargs -0 printf 'Close Menu\n%s' | xargs -0 printf 'Close Menu\n%s' |
sxmo_dmenu_with_kb.sh -c -p "Add WPA: SSID" -fn "Terminus-20" -l 20 sxmo_dmenu_with_kb.sh -c -p "Add WPA: SSID" -fn "Terminus-20" -l 20
)" )"

Loading…
Cancel
Save