summaryrefslogtreecommitdiff
path: root/doit.sh
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2009-08-17 15:48:07 +0200
committerdakkar <dakkar@thenautilus.net>2009-08-17 15:48:07 +0200
commit91ecf5b6bb572feb228072d766d37a7a688390e3 (patch)
treefd983ba75e1697b9961d50eafb5ac0f78bcaeb17 /doit.sh
parentmistype (diff)
downloadthenautilus-91ecf5b6bb572feb228072d766d37a7a688390e3.tar.gz
thenautilus-91ecf5b6bb572feb228072d766d37a7a688390e3.tar.bz2
thenautilus-91ecf5b6bb572feb228072d766d37a7a688390e3.zip
signal errors
Diffstat (limited to 'doit.sh')
-rwxr-xr-xdoit.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/doit.sh b/doit.sh
index b94d558..a0ba6a5 100755
--- a/doit.sh
+++ b/doit.sh
@@ -11,5 +11,8 @@ $command -s src/ -d output -I templates/ "$@"
if [[ $! -eq 0 && -z "$*" ]]; then
rsync -r output/ /var/www/localhost/htdocs/
rsync -r additions/ /var/www/localhost/htdocs/
+else
+ echo "Something wrong: $!" >2
fi
+