[yast-commit] r60076 - /trunk/printer/tools/test_remote_smb
Author: jsmeix Date: Fri Dec 11 16:27:56 2009 New Revision: 60076 URL: http://svn.opensuse.org/viewcvs/yast?rev=60076&view=rev Log: Fixed $PASSWORD quoting in test_remote_smb: test -z "$PASSWORD" && PASSWORD="-N" see bnc#561626. Modified: trunk/printer/tools/test_remote_smb Modified: trunk/printer/tools/test_remote_smb URL: http://svn.opensuse.org/viewcvs/yast/trunk/printer/tools/test_remote_smb?rev=60076&r1=60075&r2=60076&view=diff ============================================================================== --- trunk/printer/tools/test_remote_smb (original) +++ trunk/printer/tools/test_remote_smb Fri Dec 11 16:27:56 2009 @@ -46,7 +46,7 @@ # test whether the queue on the server accepts print jobs echo -e "\nTesting $QUEUE on $WORKGROUP/$HOST:" -test -z $PASSWORD && PASSWORD="-N" +test -z "$PASSWORD" && PASSWORD="-N" echo -en "\r" | $SMBCLIENT "//$HOST/$QUEUE" "$PASSWORD" -c "print -" -U "$USER" -W "$WORKGROUP" [ "$?" = "0" ] && { echo -en "\nShare $QUEUE on $WORKGROUP/$HOST accepts print jobs\n" ; exit 0 ; } echo -en "\nShare $QUEUE on $WORKGROUP/$HOST does not accept print jobs (queue may not exist or queueing disabled?)\n" -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jsmeix@svn.opensuse.org