commit d29cb5065ffef0450ffe052597cd135880813ac9
parent c400ed58e4ce1a16bb5f092f38753db80874a0de
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date: Tue, 3 May 2016 00:05:29 +0200
sboremove: pass arguments to system() safely
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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.";