aboutsummaryrefslogtreecommitdiff
path: root/sboremove
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-05-03 00:05:29 +0200
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2016-05-03 00:05:29 +0200
commitd29cb5065ffef0450ffe052597cd135880813ac9 (patch)
tree9fb963ef2c54f72065a2e4362c6e42c5c4a9af65 /sboremove
parentc400ed58e4ce1a16bb5f092f38753db80874a0de (diff)
downloadsbotools-d29cb5065ffef0450ffe052597cd135880813ac9.tar.xz
sboremove: pass arguments to system() safely
Diffstat (limited to 'sboremove')
-rwxr-xr-xsboremove2
1 files changed, 1 insertions, 1 deletions
diff --git a/sboremove b/sboremove
index d03ca21..dc1c722 100755
--- a/sboremove
+++ b/sboremove
@@ -196,7 +196,7 @@ unless ($non_int) {
}
}
-system("/sbin/removepkg $_") for @confirmed;
+system("/sbin/removepkg", $_) for @confirmed;
say "All operations have completed successfully.";