summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-08-16 16:31:09 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-08-16 16:31:09 -0700
commita76bc83a1fdf535cead0c16d7dd23fc292849919 (patch)
tree195da2fcb06b65017b17620b00d46399e3bbb8b3 /bin
parenta2e79a9a642d15e823ac67f5f05eba0829c7dfc7 (diff)
downloaddotfiles-a76bc83a1fdf535cead0c16d7dd23fc292849919.tar.gz
simplify 'offline' script
Diffstat (limited to 'bin')
-rwxr-xr-xbin/offline6
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/offline b/bin/offline
index c5d574e9..8c0d5cd9 100755
--- a/bin/offline
+++ b/bin/offline
@@ -8,8 +8,4 @@
# network manager on all machines, so this google wget is probably
# better for that reason alone
-if wget -q --tries=10 --timeout=20 --spider http://google.com; then
- exit 1
-else
- exit 0
-fi
+! wget -q --tries=10 --timeout=20 --spider http://google.com