Skip to content

Commit cfd85dc

Browse files
committed
Check for empty keyfile list
1 parent de75b10 commit cfd85dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sshfs/SSHFS.CLI/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ static void Start(Options options)
9090
{
9191
var auths = new List<(string, ConnectionInfo)>();
9292

93-
if (options.Keys != null)
93+
if (options.Keys != null && options.Keys.Any())
9494
{
9595
auths.AddRange(new(string, ConnectionInfo)[]
9696
{

0 commit comments

Comments
 (0)