Skip to content

Commit

Permalink
fix hotel running check
Browse files Browse the repository at this point in the history
  • Loading branch information
olibia committed Oct 7, 2017
1 parent 1523984 commit 01192d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions [email protected]/extension.js
Original file line number Diff line number Diff line change
@@ -72,8 +72,8 @@ var HotelManager = new Lang.Class({
},

_checkHotel: function () {
let running = GLib.spawn_command_line_sync('ps -ef').toString().match(/hotel/);
return running == 'hotel';
let running = GLib.spawn_command_line_sync('ps -ef').toString().match(/hotel\/lib\/daemon/);
return running == 'hotel/lib/daemon';
},

_toggleHotel: function (start) {

0 comments on commit 01192d4

Please sign in to comment.