Function: tramp-adb-barf-unless-okay

tramp-adb-barf-unless-okay is a byte-compiled function defined in tramp-adb.el.gz.

Signature

(tramp-adb-barf-unless-okay VEC COMMAND FMT &rest ARGS)

Documentation

Run COMMAND, check exit status, throw error if exit status not okay.

FMT and ARGS are passed to error.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-adb.el.gz
(defun tramp-adb-barf-unless-okay (vec command fmt &rest args)
  "Run COMMAND, check exit status, throw error if exit status not okay.
FMT and ARGS are passed to `error'."
  (unless (tramp-adb-send-command-and-check vec command)
    (apply #'tramp-error vec 'file-error fmt args)))