Commit Diff


commit - 78027c33011cf145ce6adf49d4e7baf37fcd2533
commit + f0f299767df9705642678d3e692f37a258ac2413
blob - bac78cb1e93f46600b1497b2e9b9a8d73b3278e3
blob + e93148011f14e9050d574fb7f9f57505c84a8e9e
--- Mail.pm
+++ Mail.pm
@@ -38,9 +38,9 @@ sub init {
 	unveil($passwdpath, "rwc") or die "Unable to unveil $!";
 	unveil($virtualspath, "rwc") or die "Unable to unveil $!";
 	unveil($senderspath, "rwc") or die "Unable to unveil $!";
-	unveil($passwdpath.bak, "rwc") or die "Unable to unveil $!";
-	unveil($virtualspath.bak, "rwc") or die "Unable to unveil $!";
-	unveil($senderspath.bak, "rwc") or die "Unable to unveil $!";
+	unveil("$passwdpath.bak", "rwc") or die "Unable to unveil $!";
+	unveil("$virtualspath.bak", "rwc") or die "Unable to unveil $!";
+	unveil("$senderspath.bak", "rwc") or die "Unable to unveil $!";
 	unveil("/usr/lib/libutil.so.13.1", "r") or die "Unable to unveil $!";
 	unveil("/bin/sh", "rx") or die "Unable to unveil $!";
 }