summaryrefslogtreecommitdiff
path: root/stdlib/os
diff options
context:
space:
mode:
authorJulien Dessaux2024-03-23 14:50:37 +0100
committerJulien Dessaux2024-03-24 09:58:15 +0100
commiteb9d5f861a7b46a1827c2caa6abbfb8d77e29ffb (patch)
treeb7d8bfca9d583fb6a555a73cda36d0c940dd692e /stdlib/os
parentfeat(custom): implemented custom promises (diff)
downloadgonf-eb9d5f861a7b46a1827c2caa6abbfb8d77e29ffb.tar.gz
gonf-eb9d5f861a7b46a1827c2caa6abbfb8d77e29ffb.tar.bz2
gonf-eb9d5f861a7b46a1827c2caa6abbfb8d77e29ffb.zip
chore(promises): make a Status function part of the Promise interface
Diffstat (limited to 'stdlib/os')
-rw-r--r--stdlib/os/debian/apt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/os/debian/apt.go b/stdlib/os/debian/apt.go
index aad8b65..5b0b54f 100644
--- a/stdlib/os/debian/apt.go
+++ b/stdlib/os/debian/apt.go
@@ -58,7 +58,7 @@ func packages_install(names []string) (gonf.Status, []string) {
cmd := gonf.CommandWithEnv([]string{"DEBIAN_FRONTEND=noninteractive", "LC_ALL=C"}, "apt-get", args...)
cmd.Resolve()
packages_list()
- return cmd.Status, names
+ return cmd.Status(), names
}
func packages_list() {