summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-06-12 18:44:46 +0200
committerhut <hut@lavabit.com>2009-06-12 18:44:46 +0200
commitad97002ee5f34cf702419411e871e13814076a51 (patch)
treeec8d0d0c72721459a3e3ddbb4e76d80bf0c4e2ed
parent1a5cafd79d8e0499b7e5c044fdc3211e234f5b04 (diff)
downloadranger-ad97002ee5f34cf702419411e871e13814076a51.tar.gz
fixed "ranger.rb -k"
-rwxr-xr-xranger.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger.rb b/ranger.rb
index 9e6b4380..42a7f88e 100755
--- a/ranger.rb
+++ b/ranger.rb
@@ -11,7 +11,7 @@ PID = Process.pid
 if ARGV.size > 0
 	case ARGV.first
 	when '-k'
-		exec "killall -9 fm"
+		exec "killall -9 #{File.basename($0)}"
 	end
 	pwd = ARGV.first
 	if pwd =~ /^file:\/\//