]> git.pld-linux.org Git - packages/adapter.git/commitdiff
- tabs and exit with error
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 2 Apr 2006 01:55:21 +0000 (01:55 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Sun, 2 Apr 2006 01:55:21 +0000 (01:55 +0000)
Changed files:
    adapter.sh -> 1.15

adapter.sh

index 44fe4bb1e89315a5f55a5435325413206f59a5ae..8483db63b534ac6030fdb89dd3bfea5c9bc1661e 100644 (file)
@@ -28,10 +28,12 @@ usage="Usage: $self [FLAGS] SPECFILE
        skip %defattr corrections
 
 "
+
 if [ ! -x /usr/bin/getopt ]; then
-echo "You need to install util-linux to use adapter"
-exit 0
+       echo >&1 "You need to install util-linux to use adapter"
+       exit 1
 fi
+
 t=`getopt -o hsmda --long help,sort,sort-br,no-macros,skip-macros,skip-desc,skip-defattr -n "$self" -- "$@"` || exit $?
 eval set -- "$t"
 
This page took 0.063434 seconds and 4 git commands to generate.