Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3716232
D1859.id4694.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
647 B
Referenced Files
None
Subscribers
None
D1859.id4694.diff
View Options
diff --git a/bin/getcredentials b/bin/getcredentials
--- a/bin/getcredentials
+++ b/bin/getcredentials
@@ -35,20 +35,20 @@
if [ $# -lt 1 ]
then
- echo "Usage: getcredentials <id> [password|username|title]"
+ >&2 echo "Usage: getcredentials <id> [password|username|title]"
exit 1
fi
if echo $1 | egrep -q '^[0-9]+$'; then
ID=$1
else
- echo "A positive integer id is expected."
+ >&2 echo "A positive integer id is expected."
exit 2
fi
if [ "${#ID}" -gt "${#MAX_ID}" ] || [ "$ID" -gt "$MAX_ID" ]
then
- echo "The id must be equal or lesser than $MAX_ID."
+ >&2 echo "The id must be equal or lesser than $MAX_ID."
exit 4
fi
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 6, 13:35 (22 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2231745
Default Alt Text
D1859.id4694.diff (647 B)
Attached To
Mode
D1859: Ensure errors are sent to stderr
Attached
Detach File
Event Timeline
Log In to Comment