[gnome-ostree] guestfish: Finish previous commit: Also remove pid-file parsing code



commit e0a46ee5669fb2305a5bccf1661df7b3654a65c2
Author: Colin Walters <walters verbum org>
Date:   Mon Jan 14 15:07:34 2013 -0500

    guestfish: Finish previous commit: Also remove pid-file parsing code
    
    Should have been included before.

 src/ostbuild/js/guestfish.js |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/ostbuild/js/guestfish.js b/src/ostbuild/js/guestfish.js
index d8049b0..1556807 100644
--- a/src/ostbuild/js/guestfish.js
+++ b/src/ostbuild/js/guestfish.js
@@ -111,12 +111,6 @@ const GuestMount = new Lang.Class({
 	if (!this._mounted)
 	    return;
 
-        let pidStr = GSystem.file_load_contents_utf8(this._mountPidFile, cancellable);
-        if (pidStr.length == 0) {
-	    this._mounted = false;
-	    return;
-	}
-
         for (let i = 0; i < 30; i++) {
             // See "man guestmount" for why retry loops here might be needed if this
             // script is running on a client machine with programs that watch for new mounts



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]