We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
.to_i
1 parent e9de51f commit ddf13ecCopy full SHA for ddf13ec
crew-sudo
@@ -15,7 +15,7 @@ when 'crew-sudo'
15
runas_client(ARGV[1..-1])
16
when 'stop-daemon'
17
exit(0) unless File.exist?(PID_FILE_PATH)
18
- pid = File.read(PID_FILE_PATH)
+ pid = File.read(PID_FILE_PATH).to_i
19
20
begin
21
Process.kill('TERM', pid)
0 commit comments