Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
avagin committed Feb 12, 2016
1 parent d21381c commit cec56b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -72,7 +72,7 @@ RUN apt-get update && apt-get install -y \
xfsprogs \
libzfs-dev \
tar \
linux-image-`uname -r` \
linux-image-generic \
--no-install-recommends \
&& ln -snf /usr/bin/clang-3.8 /usr/local/bin/clang \
&& ln -snf /usr/bin/clang++-3.8 /usr/local/bin/clang++
Expand Down
Expand Up @@ -24,6 +24,7 @@ var (
// Setns calls, however, require a separate invocation, as they are not children
// of the init until they join the namespace
func InitSeccomp(config *configs.Seccomp) error {
return nil
if config == nil {
return fmt.Errorf("cannot initialize Seccomp - nil config passed")
}
Expand Down

0 comments on commit cec56b2

Please sign in to comment.