aboutsummaryrefslogtreecommitdiffstats
path: root/commands/whatweb
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2013-04-22 15:17:15 +0200
committermakefu <root@pigstarter.de>2013-04-22 15:17:15 +0200
commitb88195721f6e315c6bc029a6936ba91e4733edd8 (patch)
tree6d014fc8b04381ffbe7c2bed53c6ae65c22fc7a2 /commands/whatweb
parentd9dac189ff0a0322dd0a1a9ee763e809c7661e6e (diff)
update Reaktor - add color translator
Diffstat (limited to 'commands/whatweb')
-rwxr-xr-xcommands/whatweb6
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/whatweb b/commands/whatweb
index 84130d5..afe2036 100755
--- a/commands/whatweb
+++ b/commands/whatweb
@@ -2,6 +2,6 @@
#wrapper for WhatWeb
here=$(dirname `readlink -f $0`)
whatweb_bin="$here/../repos/whatweb/whatweb"
-[ -e "$whatweb_bin" ] || ( echo "!! Whatweb app does not exist" && exit 1 )
-[ "balls$1" = "balls" ] && ( echo "!! no host given" && exit 1)
-exec $whatweb_bin -a 3 "$1"
+[ ! -e "$whatweb_bin" ] && echo "!! Whatweb app does not exist" && exit 1
+[ -z "${1:-}" ] && echo "!! no host given" && exit 1
+exec $whatweb_bin -a 3 "$1" 2>&1