Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add OUTPUT_URL=null support #501

Merged
merged 1 commit into from Oct 31, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions usr/share/rear/lib/global-functions.sh
Expand Up @@ -87,7 +87,7 @@ output_path() {
local scheme=$1
local path=$2
case $scheme in
(tape) # no path for tape required
(null|tape) # no path for tape required
path=""
;;
(file) # type file needs a local path (must be mounted by user)
Expand All @@ -111,7 +111,7 @@ mount_url() {
### Generate a mount command
local mount_cmd
case $(url_scheme $url) in
(tape|file|rsync|fish|ftp|ftps|hftp|http|https|sftp)
(null|tape|file|rsync|fish|ftp|ftps|hftp|http|https|sftp)
### Don't need to mount anything for these
return 0
;;
Expand Down Expand Up @@ -162,7 +162,7 @@ umount_url() {
local mountpoint=$2

case $(url_scheme $url) in
(tape|file|rsync|fish|ftp|ftps|hftp|http|https|sftp)
(null|tape|file|rsync|fish|ftp|ftps|hftp|http|https|sftp)
### Don't need to umount anything for these
return 0
;;
Expand Down