 
   writeSnapshot: ->
 
-    return  if @isMachineNotRunning()
+    return  unless @isMachineRunning()
 
     name  = @getWorkspaceSnapshotName()
     value = @getWorkspaceSnapshot()

        for ideView in @ideViews
          ideView.mountedMachine = @mountedMachine

        if @isMachineNotRunning()
          nickname     = KD.nick()
          machineLabel = machine.slug or machine.label
          splashs      = IDE.splashMarkups

    filesPane.emit 'MachineUnmountRequested', machineData


  isMachineRunning: ->

    return @mountedMachine.status.state is Machine.State.Running


  createInitialView: ->
