aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-07-03 14:45:23 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-07-03 14:45:23 +1200
commit92be1147fc7eb831ddb8dfb600c02335dbdc2a34 (patch)
tree2ef0553dfbb3cd5f7e85cb8f436c2291ff471213 /bin
parent694e3e4f6de5b6759c0bca0a50f653844e92c821 (diff)
downloaddotfiles-92be1147fc7eb831ddb8dfb600c02335dbdc2a34.tar.gz
dotfiles-92be1147fc7eb831ddb8dfb600c02335dbdc2a34.zip
Remove some unneeded braces
Diffstat (limited to 'bin')
-rw-r--r--bin/xrq.awk6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/xrq.awk b/bin/xrq.awk
index 62253bdb..ffd5f124 100644
--- a/bin/xrq.awk
+++ b/bin/xrq.awk
@@ -17,14 +17,12 @@ BEGIN {
# Run `xrdb -query` and search for instances of the requested resource
xrdb = "xrdb -query"
found = 0
- while (xrdb | getline) {
- for (i in ARGV) {
+ while (xrdb | getline)
+ for (i in ARGV)
if ($1 == ARGV[i]) {
found = 1
print $2
}
- }
- }
close(xrdb)
# Exit successfully if we found at least one result