summaryrefslogtreecommitdiff
path: root/cmd/podman/main_local_unsupported.go
blob: 75728627ee8c3ca4272310c8931265f8dcd3200e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// +build !remoteclient,!linux

package main

// The ONLY purpose of this file is to allow the subpackage to compile. Don’t expect anything
// to work.

import (
	"syscall"

	"github.com/spf13/cobra"
)

const remote = false

func setSyslog() error {
	return nil
}

func profileOn(cmd *cobra.Command) error {
	return nil
}

func profileOff(cmd *cobra.Command) error {
	return nil
}

func setupRootless(cmd *cobra.Command, args []string) error {
	return nil
}

func setRLimits() error {
	return nil
}

func setUMask() {
	// Be sure we can create directories with 0755 mode.
	syscall.Umask(0022)
}

// checkInput can be used to verify any of the globalopt values
func checkInput() error {
	return nil
}