mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-30 16:39:21 +01:00
Fix UnixIOException usage
This commit is contained in:
@@ -48,7 +48,7 @@ namespace Tgstation.Server.Host.System
|
||||
{
|
||||
var result = Syscall.kill(process.Id, Signum.SIGCONT);
|
||||
if (result != 0)
|
||||
throw new UnixIOException(result);
|
||||
throw new UnixIOException(Stdlib.GetLastError());
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
@@ -56,7 +56,7 @@ namespace Tgstation.Server.Host.System
|
||||
{
|
||||
var result = Syscall.kill(process.Id, Signum.SIGSTOP);
|
||||
if (result != 0)
|
||||
throw new UnixIOException(result);
|
||||
throw new UnixIOException(Stdlib.GetLastError());
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
Reference in New Issue
Block a user