Skip to content

Commit 13613f3

Browse files
committed
Dont try to trigger reminder messaging when running in unattended mode.
Fixes #494
1 parent 37b57bb commit 13613f3

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

GVFS/GVFS.Hooks/Program.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public static void Main(string[] args)
6969
RunLockRequest(args, unattended, ReleaseGVFSLock);
7070
}
7171

72-
RunPostCommands(args);
72+
RunPostCommands(args, unattended);
7373
break;
7474

7575
default:
@@ -95,9 +95,12 @@ private static void RunPreCommands(string[] args)
9595
}
9696
}
9797

98-
private static void RunPostCommands(string[] args)
98+
private static void RunPostCommands(string[] args, bool unattended)
9999
{
100-
RemindUpgradeAvailable();
100+
if (!unattended)
101+
{
102+
RemindUpgradeAvailable();
103+
}
101104
}
102105

103106
private static void RemindUpgradeAvailable()

0 commit comments

Comments
 (0)