Commit 69bcdd43 authored by Leigh Stoller's avatar Leigh Stoller

Chomp the newline off the key returned by TBGenSecretKey().

parent 7b61d846
......@@ -258,7 +258,8 @@ sub TBMakeLogname($)
#
sub TBGenSecretKey()
{
my $key = `/bin/dd if=/dev/urandom count=128 bs=1 2> /dev/null | /sbin/md5`;
my $key=`/bin/dd if=/dev/urandom count=128 bs=1 2> /dev/null | /sbin/md5`;
chomp($key);
return $key;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment