diff options
author | dakkar <dakkar@thenautilus.net> | 2009-08-17 15:48:07 +0200 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2009-08-17 15:48:07 +0200 |
commit | 91ecf5b6bb572feb228072d766d37a7a688390e3 (patch) | |
tree | fd983ba75e1697b9961d50eafb5ac0f78bcaeb17 /doit.sh | |
parent | mistype (diff) | |
download | thenautilus-91ecf5b6bb572feb228072d766d37a7a688390e3.tar.gz thenautilus-91ecf5b6bb572feb228072d766d37a7a688390e3.tar.bz2 thenautilus-91ecf5b6bb572feb228072d766d37a7a688390e3.zip |
signal errors
Diffstat (limited to 'doit.sh')
-rwxr-xr-x | doit.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 + |