summaryrefslogtreecommitdiff
path: root/tests/rwx-to-mode
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-11-06 09:03:22 +0000
committerJim Meyering <jim@meyering.net>2000-11-06 09:03:22 +0000
commit8b6603f08548702bc7ffe9ecf0f9794f3e8635cb (patch)
treee5d9a028638e7978ea0beefa309bf3223324805c /tests/rwx-to-mode
parenta3dcaf6a8316c68b77cd09d7b813eba2e3db2cae (diff)
downloadcoreutils-8b6603f08548702bc7ffe9ecf0f9794f3e8635cb.tar.xz
*** empty log message ***
Diffstat (limited to 'tests/rwx-to-mode')
-rwxr-xr-xtests/rwx-to-mode2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rwx-to-mode b/tests/rwx-to-mode
index 95a512167..7c6002e35 100755
--- a/tests/rwx-to-mode
+++ b/tests/rwx-to-mode
@@ -14,7 +14,7 @@ esac
case $rwx in
[ld-][rwx-][rwx-][rwxs-][rwx-][rwx-][rwxs-][rwx-][rwx-][rwxt-]) ;;
- *) echo "$0: invalid mode string: $rwx";;
+ *) echo "$0: invalid mode string: $rwx" 1>&2; exit 1;;
esac
u=`echo $rwx|sed 's/^.\(...\).*/,u=\1/;s/-//g;s/^,u=$//'`